SetVehiclePos question.
#1

Well I'm getting like FRUSTRATED now on this bug, I tried everything like adding random numbers and shit. What is wrong with this code:
Код:
new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid,X,Y,Z);
	SetVehiclePos(pInfo[playerid][OwnCar],X,Y,Z);
	SendClientMessage(playerid,c_green,"You have teleported your car to your position.");
	#pragma unused params
	return 1;
Neither "pInfo[playerid][OwnCar]" replacing by a random number nor changing the code a bit so you get another array, it wont work..

Any help?

Edit:
Tried changing the array again, worked now o.O I guess I have to try another way calling this vehicle, nevermind this all!
Reply


Messages In This Thread
SetVehiclePos question. - by HB - 01.04.2009, 18:40
Re: SetVehiclePos question. - by Rks25 - 01.04.2009, 18:51
Re: SetVehiclePos question. - by Pyrokid - 01.04.2009, 18:53
Re: SetVehiclePos question. - by HB - 01.04.2009, 18:57
Re: SetVehiclePos question. - by ICECOLDKILLAK8 - 01.04.2009, 18:58
Re: SetVehiclePos question. - by HB - 01.04.2009, 19:00
Re: SetVehiclePos question. - by ICECOLDKILLAK8 - 01.04.2009, 19:00
Re: SetVehiclePos question. - by HB - 01.04.2009, 19:07
Re: SetVehiclePos question. - by ICECOLDKILLAK8 - 01.04.2009, 19:11
Re: SetVehiclePos question. - by HB - 02.04.2009, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)