Why won't this command work
#1

Frist time i have try something like this i get no errors im just trying to make it so that i do /impound and it will just re spawn the car im towing.

Код:
	if(strcmp(cmd, "/impound", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if(IsATOWTRUCKDRIVER(playerid))
			{
				if (IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
				{
				    new vid;
				    GetVehicleTrailer(vid);
				    DestroyVehicle(vid);
				 }
			}
		}
		return 1;
	}
Reply


Messages In This Thread
Why won't this command work - by yarrum3 - 23.02.2011, 09:33
Re: Why won't this command work - by (SF)Noobanatior - 23.02.2011, 09:36
Re: Why won't this command work - by yarrum3 - 23.02.2011, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)