SA-MP Forums Archive
GetPvarFloat - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetPvarFloat (/showthread.php?tid=634006)



GetPvarFloat - itachi - 11.05.2017

Код:
new float:P[3];
 P[0] = GetPVarFloat(playerid, "X");
 P[1] = GetPVarFloat(playerid, "Y");
 P[2] = GetPVarFloat(playerid, "Z");
bu not function..


Re: GetPvarFloat - GoldenLion - 11.05.2017

Код:
new float:P[3];
->
Код:
new Float:P[3];



Re: GetPvarFloat - itachi - 11.05.2017

thank


Re: GetPvarFloat - itachi - 11.05.2017

so not function , send
Quote:

0.000000000000




Re: GetPvarFloat - GoldenLion - 11.05.2017

You must create these PVars by storing a value in them first to get a value from them.


Re: GetPvarFloat - itachi - 11.05.2017

how to ?


Re: GetPvarFloat - GoldenLion - 11.05.2017

https://sampwiki.blast.hk/wiki/Per-player_variable_system
https://sampwiki.blast.hk/wiki/GetPlayerPos is the function to get player's position though lol.