GetPvarFloat
#1

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

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

thank
Reply
#4

so not function , send
Quote:

0.000000000000

Reply
#5

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

how to ?
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)