[SOLVED] error 017: undefined symbol "GetPVarInt" -
cAMo - 15.05.2010
error 017: undefined symbol "GetPVarInt"
if(GetPVarInt(i, "local") == GetPVarInt(playerid, "local"))
Any idea what's wrong here?
Re: error 017: undefined symbol "GetPVarInt" -
juice.j - 15.05.2010
Does it work elsewhere in the script all fine?
Might be some brackets above you forget to close.
Re: error 017: undefined symbol "GetPVarInt" -
cAMo - 15.05.2010
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"
Re: error 017: undefined symbol "GetPVarInt" -
juice.j - 15.05.2010
No I mean, do you call GetPVarInt elsewhere in the script however no error comes up when compiling?
Re: error 017: undefined symbol "GetPVarInt" -
cAMo - 15.05.2010
The error is at the first line I use GetPVarInt
Re: error 017: undefined symbol "GetPVarInt" -
juice.j - 15.05.2010
And you are 100% sure you have the newest version of all inc files?
Re: error 017: undefined symbol "GetPVarInt" -
cAMo - 15.05.2010
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
Re: error 017: undefined symbol "GetPVarInt" -
juice.j - 15.05.2010
Redownload it and renew the files or at least a_players.inc
Re: error 017: undefined symbol "GetPVarInt" -
cAMo - 15.05.2010
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?
Re: error 017: undefined symbol "GetPVarInt" -
juice.j - 15.05.2010
I don't see why that should be wrong, I still suppose there is a brackets mistake somewhere in your script.
Re: error 017: undefined symbol "GetPVarInt" -
cAMo - 15.05.2010
Ah, you're right again! Thanks
I really appreciate it! Solved