[SOLVED]Cant spawn Until logged in?
#7

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.
Reply


Messages In This Thread
[SOLVED]Cant spawn Until logged in? - by [XST]O_x - 05.10.2009, 18:46
Re: Cant spawn Until logged in? - by brett7 - 05.10.2009, 18:51
Re: Cant spawn Until logged in? - by [XST]O_x - 05.10.2009, 18:56
Re: Cant spawn Until logged in? - by brett7 - 05.10.2009, 19:02
Re: Cant spawn Until logged in? - by member - 05.10.2009, 19:11
Re: Cant spawn Until logged in? - by [XST]O_x - 05.10.2009, 19:14
Re: Cant spawn Until logged in? - by shady91 - 05.10.2009, 19:15
Re: Cant spawn Until logged in? - by [XST]O_x - 05.10.2009, 19:16
Re: Cant spawn Until logged in? - by [XST]O_x - 05.10.2009, 20:04
Re: Cant spawn Until logged in? - by BP13 - 05.10.2009, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)