01.08.2016, 22:41
Ok, I tryed... But system show only: This players is clear..
Код:
CMD:check(playerid, params[]) { new giveplayerid; if ( sscanf( params, "u", giveplayerid ) ) SendClientMessage(pid, COLOR_RED, "* {ff9900}/check ID" ); else if ( giveplayerid == INVALID_PLAYER_ID ) SendClientMessage(pid, COLOR_RED, "* Invalid ID!" ); else if ( giveplayerid == playerid ) SendClientMessage(pid, COLOR_RED, "* Invalid ID!" ); else { new giveplayerid = GetPlayerVehicleID(giveplayerid); if(giveplayerid == 415) { SendClientMessage(pid, COLOR_RED, "* Text!" ); } else { SendClientMessage(pid, COLOR_RED, "* Player is clear!" ); } } return 1; }