Problem converting gamemode to 0.3x, GetPlayerVersion problem?
#1

Hi.

I download new samp version and put new includes, but I getting these two errors:
pawn Code:
xxx\pawno\include\a_samp.inc(122) : error 001: expected token: "-string end-", but found "-identifier-"
xxx\pawno\include\a_samp.inc(122) : error 001: expected token: ";", but found "["
I open a_samp.inc and find that line 122 is (0.3e also have GetPlayerVersion native):
Code:
native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player
and its the same on samp wiki page and in 0.3e a_samp.inc. I dont know why im getting errors and why dont work?
Reply
#2

Hmm, have you edited any of the included files? Try re-downloading them, also where did you get them from?
Reply
#3

Did you edit the a_samp.inc when you were using o.3e?
Reply
#4

I'm not edited a_samp.inc while I be on 0.3e version. EDIT: ohops, i edited it, just because i have another version define in my gm. sorry!
Native, and the native name was the same.
Works without any problem, but after putting new includes (downloaded from official samp download page), they dont work. Really doesnt know why, because that native was same in 0.3e...

EDIT: problem figured out, thanks Y_less. I have another "version" define and i thinked that, in 0.3e I edit that. But I edited a_samp.inc native to "versionsamp". Idk why i thinked that I edited "version" define in my gm and not in the a_samp... Maybe because it was just line... Can lock topic, problem solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)