Error SetPlayerPos
#2

It gives an error, because you use a string as a value, instead of a float. Don't use format for that. Do something like this:
pawn Код:
new Float:pos_x, Float: pos_y, Float:pos_z;
pos_x=pinfo[playerid][px];
pos_y=pinfo[playerid][py];
pos_z=pinfo[playerid][pz];
Reply


Messages In This Thread
Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:01
Re: Error SetPlayerPos - by DeathOnaStick - 30.01.2010, 15:05
Re: Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:14
Re: Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:15
Re: Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:22
Re: Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:25
Re: Error SetPlayerPos - by ray187 - 30.01.2010, 15:37
Re: Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:40
Re: Error SetPlayerPos - by MadeMan - 30.01.2010, 15:47
Re: Error SetPlayerPos - by Zafire2008 - 30.01.2010, 15:51

Forum Jump:


Users browsing this thread: 2 Guest(s)