10.06.2016, 11:42
Estaba haciendo un mapa en el editor ese SA:MP Construction, y le di guardar en un .pwn y ahora que lo abro solo sale los remove pero los no cargan son los createobject por que sera?
public OnGameModeInit()
{
CreateObject(17523, 19.94263, 31.35925, -0.93386, 0.00000, 0.00000, 0.51010);
CreateObject(16146, 8.90894, -35.06702, -0.01583, 0.00000, 0.00000, 0.00000);
CreateObject(16360, 6.07471, -53.15845, -2.54421, 0.00000, 0.00000, 270.07022);
CreateObject(2043, 26.75391, 9.54211, -2.72818, 0.00000, 0.00000, 0.00000);
CreateObject(2068, 21.83130, 17.84241, 2.76446, 0.00000, 0.00000, 0.00000);
return 1;
}
}
public OnPlayerConnect(playerid)
{
// When the player connects, objects with model 615 will be removed within a
// range of 200.0 from the point 0.0, 0.0, 0.0, which is the center of San Andreas.
RemoveBuildingForPlayer(playerid, 3645, 2069.6172, -1556.7031, 15.0625, 0.25);
RemoveBuildingForPlayer(playerid, 3645, 2070.7578, -1586.0156, 15.0625, 0.25);
RemoveBuildingForPlayer(playerid, 5633, 2089.3594, -1643.9297, 18.2188, 0.25);
RemoveBuildingForPlayer(playerid, 1524, 2074.1797, -1579.1484, 14.0313, 0.25);
RemoveBuildingForPlayer(playerid, 3644, 2070.7578, -1586.0156, 15.0625, 0.25);
RemoveBuildingForPlayer(playerid, 3644, 2069.6172, -1556.7031, 15.0625, 0.25);
return 1;
}