04.01.2018, 16:58
Can anyone tell me how to force a player /register before spawning?Do I have to use OnPlayerRequestSpawn?and how do I have to do that
Originally Posted by SAMP Wikipedia
Returning 0 in this callback will prevent the player from spawning. The player can be forced to spawn when SpawnPlayer is used.
|
public OnPlayerRequestSpawn(playerid)
{
if(!Registered[playerid]) return 0;
return 1;
}