GetVehiclePos
#1

Hi all, I have a problem with GetVehicle Pos. This is my script:

Код:
if(pickupid == pickups[0][car])
	{
	    new Float:cpo[3];
		GetVehiclePos(523,cpo[0],cpo[1],cpo[2]);

		if(!PlayerToPoint(7,playerid,cpo[0],cpo[1],cpo[2]))
		{
			SendClientMessage(playerid,RED,"* The car is too far.");
   	        return 1;
		}
		
		GivePlayerMoney(playerid, 500);
		return 1;
}
When i arrive with this car and get on pickup, it say The car is too far, but money not give to me. What is the problem?..
Reply


Messages In This Thread
GetVehiclePos - by Ectazy - 09.06.2012, 10:28
Re: GetVehiclePos - by MP2 - 09.06.2012, 10:32
Re: GetVehiclePos - by Ectazy - 09.06.2012, 10:51
Re: GetVehiclePos - by Sandiel - 09.06.2012, 11:32
Re: GetVehiclePos - by MadeMan - 09.06.2012, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)