Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by DRIFT_HUNTER
pawn Код:
OnPlayerCommandPerformed(playerid, cmdtext[], success); { if (PlayerInfo[playerid][LoggedIn]==0) return SendClientMessage(playerid,red,"Login first to use commands."); }
|
Use 'executed', instead of 'performed' - as it would have had the opportunity to execute and that message would send afterwards.