Quote:
Originally Posted by AmigaBlizzard
PHP код:
if(!IsPlayerConnected(playerid)) return 0;
This can be deleted as you need to be connected to execute a command anyway.
PHP код:
if(PlayerInfo[playerid][pRank] < 3)
Shouldn't this be
PHP код:
if(PlayerInfo[playerid][pRank] >= 3)
This would mean your rank needs to be at 3 or higher to execute this command.
|
1. It's for more safety, a play may lagg and disconnect before the command executes.
2. Oh, didn't noticed that it was < istead of >=.