Sellvehicle command [You can't sell to yourself]
#2

Compare playerid with giveplayerid and disallow the command if it returns true (matching IDs)

Example:
pawn Код:
if( giveplayerid == playerid )
    return SendClientMessage( playerid, 0xFF0000AA, "[ERROR] {FFFFFF}You can't sell to yourself." );
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)