30.09.2009, 00:52
Try doing this with any script
At the top put
under OnPlayerSpawn put
On The /login command find a place and put
Try that, if you get any errors, post them here and I will try and help correct them.
At the top put
pawn Код:
new Logged[MAX_PLAYERS]
pawn Код:
if(Logged[playerid] != 1) return SendClientMessage(playerid, 0xFF0000FF, "You need to login or register before spawning !");
{
return 1;
}
pawn Код:
Logged[playerid] =true; //This is the thing that will allow the player to spawn if he is logged in.
Try that, if you get any errors, post them here and I will try and help correct them.