/tow command
#5

Код:
	
if(strcmp(cmdtext, "/tow", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
			{
   			if(IsPlayerInVehicle(playerid, 156 ) || IsPlayerInVehicle(playerid, 157) || IsPlayerInVehicle(playerid, 159) || IsPlayerInVehicle(playerid, 160))
				{
				    if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
					{
					    	CP[playerid] = 111;
							SetPlayerCheckpoint(playerid, 2412.4646,-1426.3083,23.9848, 5.0);
							SendClientMessage(playerid, COLOR_YELLOW, "Drive to Warehouse to destroy the towed car.");
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GRAD1, "   You dont towed a car !");
					}
				}
				else
				{
					SendClientMessage(playerid, COLOR_GRAD1, "   You are not in a Tow Truck !");
				}
			}
	}
Ia de-aici , asta sigur merge , la mine functioneaza.. nu esti Ne0 de pe B-Zone ?
Reply


Messages In This Thread
/tow command - by Ne0 - 20.08.2010, 19:38
Re: /tow command - by killer98p - 20.08.2010, 19:43
Re: /tow command - by Ne0 - 20.08.2010, 19:45
Re: /tow command - by killer98p - 20.08.2010, 19:50
Re: /tow command - by Gabb0411 - 20.08.2010, 19:56
Re: /tow command - by killer98p - 20.08.2010, 19:57
Re: /tow command - by Ne0 - 20.08.2010, 20:11
Re: /tow command - by Ne0 - 20.08.2010, 20:33
Re: /tow command - by wups - 20.08.2010, 21:45
Re: /tow command - by Ne0 - 20.08.2010, 22:04

Forum Jump:


Users browsing this thread: 3 Guest(s)