18.04.2013, 16:13
Compare playerid with giveplayerid and disallow the command if it returns true (matching IDs)
Example:
Example:
pawn Код:
if( giveplayerid == playerid )
return SendClientMessage( playerid, 0xFF0000AA, "[ERROR] {FFFFFF}You can't sell to yourself." );