Help with GetPlayerPos
#5

Quote:
Originally Posted by yvoms
View Post
Biesmen is right.
Did you define them as a float?
pawn Code:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
new Float:angle;
PlayerInfo[playerid][pSkin] = GetPlayerSkin(playerid);
PlayerInfo[playerid][pModel] = 0;
PlayerInfo[playerid][pPos_x] = x;
PlayerInfo[playerid][pPos_y] = y;
PlayerInfo[playerid][pPos_z] = z;
PlayerInfo[playerid][pPos_r] = GetPlayerFacingAngle(playerid, angle);
I defined them and i get the warning about tag mismatch
Reply


Messages In This Thread
Help with GetPlayerPos - by matute - 17.12.2010, 20:24
Re: Help with GetPlayerPos - by Biesmen - 17.12.2010, 20:55
Re: Help with GetPlayerPos - by matute - 17.12.2010, 20:57
Re: Help with GetPlayerPos - by yvoms - 17.12.2010, 20:57
Re: Help with GetPlayerPos - by matute - 17.12.2010, 21:00
Re: Help with GetPlayerPos - by blackwave - 17.12.2010, 21:04
Re: Help with GetPlayerPos - by matute - 17.12.2010, 21:06

Forum Jump:


Users browsing this thread: 1 Guest(s)