27.10.2015, 21:46
I've followed Kush's registering system tutorial
http://forum.sa-mp.com/showthread.ph...=enum+tutorial
I've completed few steps, had no problems til I reached 7th step, after I firstly received the error, I thought I might've miss-typed something wrong as I didn't copy paste or some shit.
Later on I checked if I had any typing errors, and apparently I had none. I proceed to check what's wrong with my code.
Afterwards I simply pasted the text from the tutorial, yet I received the same error.
Errors / warnings:
Line 83 = new string[128]PlayerName[MAX_PLAYER_NAME];
Another problem that I experience is izcmd warnings (I decided to test a new include which is faster than the regular zcmd)
Is it possible that the include itself is bugged? Because the warning appears to be from the izcmd.inc file itself, it does not include the script name or whatsoever.
Thanks in advanced
http://forum.sa-mp.com/showthread.ph...=enum+tutorial
I've completed few steps, had no problems til I reached 7th step, after I firstly received the error, I thought I might've miss-typed something wrong as I didn't copy paste or some shit.
Later on I checked if I had any typing errors, and apparently I had none. I proceed to check what's wrong with my code.
Afterwards I simply pasted the text from the tutorial, yet I received the same error.
Код:
stock UserPath(playerid) { new string[128]PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid,PlayerName,sizeof(playername)); format(string,sizeof(string),PATH,PlayerName); return string; }
Код:
(83) : error 001: expected token: ";", but found "-identifier-" (83) : error 017: undefined symbol "PlayerName" (83) : warning 215: expression has no effect (83) : error 001: expected token: ";", but found "]" (83) : fatal error 107: too many error messages on one line
Another problem that I experience is izcmd warnings (I decided to test a new include which is faster than the regular zcmd)
Код:
pawno\include\izcmd.inc(93) : warning 217: loose indentation pawno\include\izcmd.inc(97) : warning 217: loose indentation pawno\include\izcmd.inc(99) : warning 217: loose indentation pawno\include\izcmd.inc(100) : warning 217: loose indentation
Thanks in advanced