#10

remove the is player online check and set up ur own variable like:

pawn Код:
IsPlayerLoggedIn[MAX_PLAYERS];

//OnPlayerConnect
IsPlayerLoggedIn[playerid]=0;

//After ur login proceeds:
IsPlayerLoggedIn[playerid]=1;

//OnPlayerDisconnect
IsPlayerLoggedIn[playerid]=0;

//Ur cmd
if(IsPlayerLoggedIn[playerid]==0) return SendClientMessage(/*your message that hes not online*/);
Reply


Messages In This Thread
Help - by antonio600x - 03.09.2011, 15:20
Re: Help - by =WoR=Varth - 03.09.2011, 15:23
Re: Help - by Jafet_Macario - 03.09.2011, 15:25
Re: Help - by antonio600x - 03.09.2011, 15:33
Re: Help - by =WoR=Varth - 03.09.2011, 15:49
Re: Help - by antonio600x - 03.09.2011, 17:44
Re: Help - by =WoR=Varth - 03.09.2011, 17:49
Re: Help - by antonio600x - 03.09.2011, 19:43
Re: Help - by Dokins - 03.09.2011, 19:45
Re: Help - by BlackWolf120 - 03.09.2011, 19:48

Forum Jump:


Users browsing this thread: 2 Guest(s)