02.08.2016, 18:12
I Made a silly mistake up
Try this
Try this
PHP код:
CMD:check(playerid, params[])
{
new giveplayerid;
if(sscanf(params,"d",giveplayerid)) return SendClientMessage(pid, COLOR_RED, "* {ff9900}/check ID" );
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(pid, COLOR_RED, "* Invalid ID!" );
if(GetPlayerVehicleID(giveplayerid) == 415) return SendClientMessage(pid, COLOR_RED, "* Text!" );
SendClientMessage(playerid, COLOR_RED, "* Player is clear!" );
return 1;
}