Car check
#3

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;
}
Reply


Messages In This Thread
Car check - by ,TomY' - 01.08.2016, 20:29
Re: Car check - by Shinja - 01.08.2016, 20:51
Re: Car check - by ,TomY' - 01.08.2016, 22:41
Re: Car check - by Shinja - 01.08.2016, 22:55
Re: Car check - by ,TomY' - 02.08.2016, 10:01
Re: Car check - by IceBilizard - 02.08.2016, 10:19
Re: Car check - by Juvanii - 02.08.2016, 10:40
Re: Car check - by Shinja - 02.08.2016, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)