[SOLVED] error 017: undefined symbol "GetPVarInt"
#1

error 017: undefined symbol "GetPVarInt"

if(GetPVarInt(i, "local") == GetPVarInt(playerid, "local"))

Any idea what's wrong here?
Reply
#2

Does it work elsewhere in the script all fine?

Might be some brackets above you forget to close.
Reply
#3

I'm actually getting these as well...

"pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level"
"gamemodes\script.pwn(1245) : warning 219: local variable "string" shadows a variable at a preceding level"
Reply
#4

No I mean, do you call GetPVarInt elsewhere in the script however no error comes up when compiling?
Reply
#5

The error is at the first line I use GetPVarInt
Reply
#6

And you are 100% sure you have the newest version of all inc files?
Reply
#7

I downloaded a fresh server and updated all of the plugins to the new folder.

I found that one of my custom functions didn't do anything with a string, so that was causing some of string problem.

Now the issue is just with GetPVarInt and other PVar's
Reply
#8

Redownload it and renew the files or at least a_players.inc
Reply
#9

Ah, I think I found the issue...

Now it is working in some areas of the script, and not others.

The PVar right before failure is this: SetPVarFloat(playerid, "health", 100);

...I assume that is wrong? How would you input health for the PVar Float?
Reply
#10

I don't see why that should be wrong, I still suppose there is a brackets mistake somewhere in your script.
Reply
#11

Ah, you're right again! Thanks

I really appreciate it! Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)