Crash using SetPlayerPos
#1

I need to setplayerpos with a variable.. i use this line

Код:
SetPlayerPos(playerid,pinfo[playerid][px],pinfo[playerid][py],pinfo[playerid][pz]);
but the game crash :S:S

The vars are correct because i use this

Код:
		format(txt, sizeof(txt), "Coord x: %f y: %f z: %f", pinfo[playerid][px], pinfo[playerid][py], pinfo[playerid][pz]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, txt);
And that show me the corrects coords... but when i use that vars whit SetPlayerPos.. i appears in the middle of the water and my game crashes

please i need help! can help me?
Reply


Messages In This Thread
Crash using SetPlayerPos - by Zafire2008 - 30.01.2010, 14:55
Re: Crash using SetPlayerPos - by bartje01 - 31.01.2010, 21:34
Re: Crash using SetPlayerPos - by Backwardsman97 - 31.01.2010, 21:49

Forum Jump:


Users browsing this thread: 5 Guest(s)