Quote:
Originally Posted by Shady91
Quote:
Originally Posted by [B2K
Hustler ]
As breet7 said, you should change loggedin[playerid] to the variable u are using. Anyways, I think u are using this "logged[playerid]" variable from lookning at bogeyman_EST's tutorial.
pawn Код:
public OnPlayerRequestSpawn(playerid) { if(logged[playerid] == 0) return SendClientMessage(playerid, 0xFF0000AA, "you must login"); return 1; }
Good Luck.
|
i wouldn't add the message as if they hold down spawn button it will spam them with the message.
|
EDIT:
No spam problem,worse problem -.-'
it's spawning the player,AND sends "You must login".
o_O