How do I make this code...
#1

How do I make this code to check whether your car before you says "You have successfully removed the vehicle."?

Код:
	if(strcmp(cmd, "/destroycar", true)== 0)
	{
	    if(PlayerInfo[playerid][pAdmin] > 1)
	    {
	        new removeVeh = GetPlayerVehicleID(playerid);
            SendClientMessage(playerid, COLOR_GRAD1, "You have successfully removed the vehicle.");
            DestroyVehicle(removeVeh);
	        return 1;
		}
		else
		{
            SendClientMessage(playerid, COLOR_GRAD1, "You are not an admin!");
		}
	}
Reply


Messages In This Thread
How do I make this code... - by Join7 - 06.05.2011, 19:48
Re: How do I make this code... - by X3nZ - 06.05.2011, 19:56
Re: How do I make this code... - by Join7 - 06.05.2011, 20:36
Re: How do I make this code... - by Calgon - 06.05.2011, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)