05.06.2016, 05:18
No, he's obviously not...
You must use it in a body. If you don't know what a body is, learn how to code.
So basically, as Onfroi said, RemoveBuildingForPlayer is typically used in OnPlayerConnect. Here is how:
You must use it in a body. If you don't know what a body is, learn how to code.
So basically, as Onfroi said, RemoveBuildingForPlayer is typically used in OnPlayerConnect. Here is how:
pawn Код:
// Specify the callback's name, it's already forwarded for you in a_samp.inc
public OnPlayerConnect(playerid)
{ // Start a body
//Remove the building
RemoveBuildingForPlayer(playerid, bleh....);
//return 1 in OnPlayerConnect
return 1;
} // End the body