Kada ubacim mapu u pawno sve radi a kada udem na server odem do lokacije mape jednostavno nema objekata sve sam pokusao prvo sam napravio svoju mapu pa je ubacio
i nista probao sam i tude mape da ubacim ali ih nema na mjestima gdje su mapane
pokusao sam da skinem novi streamer ali opet nema mapa na serveru
pokusao sam sve moguce nacine ali nista moze pomoc ako neko zna do cega je problem
Citat: aha aha poslato Avgust 18, 2021, 10:34:13 PRE PODNE
Je l objekte ubacuješ pod OnGameModeInit?
Takođe ukoliko koristiš CreateObject postoji limit od 1000.
ovako nekako i opet nema mape na serveru
dio skripte
#include <streamer>
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
///////////////////////////////////MAPE/////////////////////////////////////////
CreateDynamicObject(19447, 1684.68384, -1455.69080, 14.29225, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19447, 1692.58752, -1455.71191, 14.25995, 0.00000, 0.00000, 179.75998);
CreateDynamicObject(19380, 1689.56262, -1460.13623, 10.81920, 0.00000, 0.00000, 269.16016);
CreateDynamicObject(19447, 1686.28418, -1455.69751, 16.00650, 0.00000, -91.00000, 0.00000);
CreateDynamicObject(19447, 1689.56287, -1455.67114, 16.07085, 0.00000, -91.00000, 0.00000);
CreateDynamicObject(19447, 1691.92639, -1455.70166, 16.11082, 0.00000, -91.00000, 0.00000);
CreateDynamicObject(19391, 1688.65430, -1450.93359, 14.29535, 0.00000, 0.00000, 88.38003);
CreateDynamicObject(19372, 1685.47375, -1450.93542, 11.66344, 0.00000, 0.00000, 91.97998);
CreateDynamicObject(19372, 1691.83398, -1450.97144, 11.69856, 0.00000, 0.00000, 90.23999);
CreateDynamicObject(1649, 1692.28601, -1450.93970, 14.91832, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(1649, 1685.12439, -1450.87195, 14.91832, 0.00000, 0.00000, 1.14000);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(playerid)
{
/////////////////////////REMOVE/////////////////////////////////////////////////
RemoveBuildingForPlayer(playerid, 673, 1958.8828, -1395.1953, 13.3281, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1933.2422, -1376.1719, 13.3281, 0.25);
return 1;
}