30.10.2013, 16:02
Quote:
I think you need to use OnPlayerCommandRecieved. Returning 0 there will prevent the command from being performed.
|
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(!LoggedIn[playerid])
return !SendClientMessage(playerid,COLOR_GREEN,"You have to login first");
return 1;
}