03.07.2012, 18:25
Quote:
Hello.
When a new player come on my server, he has to register. The problem is that there is a spawn button and the player can play if he isn't registered. My question is how to delete the spawn button and just spawn the player when I do SpawnPlayer(playerid) ? Thanks ! |
pawn Код:
if( !IsPlayerLoggedIn( playerid ) ) // change this to your own var
{
SendClientMessage( playerid, -1, "Error: You must log in before you spawn!" );
return 0;
}
![Smiley](images/smilies/smile.png)
Regards,
FalconX