symbol already defined
#4

Quote:
Originally Posted by Onfroi
Посмотреть сообщение
Are you using it in OnPlayerConnect?
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:
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
Reply


Messages In This Thread
symbol already defined - by AhmedElGaml - 05.06.2016, 03:53
Re: symbol already defined - by WhiteGhost - 05.06.2016, 04:04
Re: symbol already defined - by Onfroi - 05.06.2016, 04:52
Re: symbol already defined - by Crayder - 05.06.2016, 05:18

Forum Jump:


Users browsing this thread: 1 Guest(s)