SA-MP Forums Archive
Compiling errors and warnings! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compiling errors and warnings! (/showthread.php?tid=480686)



Compiling errors and warnings! - hassantariq73 - 12.12.2013

This is the line which gives me error
THIS HAPPENS WHEN I PUT SendRconCommand("mapname Desert") before leaving 2-3 lines of it.
pawn Код:
AddPlayerClass(C_SKIN,1838.0135,-3079.4434,6.0971,359.9966, 0, 0, 0, 0, 0, 0);
ERROR CODE:
pawn Код:
expected token: ";", but found "-identifier-"



-------

This line gives me warning
pawn Код:
INI_ParseFile(Jfile, "LoginPlayer", .bExtra = true, .extra = playerid);
WARNING CODE:
pawn Код:
pawno\include\YSI\y_ini.inc(1050) : warning 202: number of arguments does not match definition



Re: Compiling errors and warnings! - marwanalramahi - 12.12.2013

What line is giving you error the rcon or the add player class ?


Re: Compiling errors and warnings! - Tagathron - 12.12.2013

Check he INI_Parsefile structure:
Quote:

INI_ParseFile(filename[], remoteFormat[], bool:bFileFirst = false, bool:bExtra = false, extra = 0, bool:bLocal = false, bool:bPassTag = false)