15.06.2017, 13:27
If you want to remove a gta sa game object (not server sided object), you have to put RemoveBuildingForPlayer
under OnPlayerConnect, everytime a player connected to your server, the object will be removed for him.
Ex :
You don't have to use loop, if you use it that way
EDIT : Are you making a command to destroy a game object?
under OnPlayerConnect, everytime a player connected to your server, the object will be removed for him.
Ex :
PHP Code:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
return 1;
}
EDIT : Are you making a command to destroy a game object?