30.01.2010, 14:55
I need to setplayerpos with a variable.. i use this line
but the game crash :S:S
The vars are correct because i use this
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?
Код:
SetPlayerPos(playerid,pinfo[playerid][px],pinfo[playerid][py],pinfo[playerid][pz]);
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);
please i need help! can help me?