SA-MP Forums Archive
PLEASE - 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: PLEASE (/showthread.php?tid=573286)



PLEASE - System64x - 06.05.2015

.pwn(2930) : error 001: expected token: "-identifier-", but found "("

--------------------------------------------------------------------------------------------

//================================ Tune System ===============================//
new
ReacReward,
Escaped_NewNick[ MAX_PLAYER_NAME ]
;
new
gsString[ 2048 ],
gsBigString[ 4096 ],
gsQuery[ 2048 ]
;
new Gate[ 12 ];
// =============================[ Iteratos ]==================================//
new
Iterator:Var_Seeker<MAX_PLAYERS>, // Line 2930
Iterator:HNS_Rank<MAX_PLAYERS>,
Iterator:PlayerInDerby<MAX_PLAYERS>,
Iterator:PlayerInVortex<MAX_PLAYERS>,
Iterator:PlayerInCNR<MAX_PLAYERS>,
Iterator:PlayerInMinigun<MAX_PLAYERS>,
Iterator:PlayerInJobs<MAX_PLAYERS>,
Iterator:PlayerInBattlefield<MAX_PLAYERS>,
Iterator:GodList<MAX_PLAYERS>,
Iterator:GodCar<MAX_PLAYERS>,
Iterator:CavemanPlayer<MAX_PLAYERS>,
Iterator:PiratePlayer<MAX_PLAYERS>
//================================================== ==========================//


Re: PLEASE - Sithis - 06.05.2015

You forgot the ; after the last iterator.


Re: PLEASE - System64x - 06.05.2015

Where ?? ";"


Re: PLEASE - zT KiNgKoNg - 06.05.2015

Jesus is it that hard to open your eyes and look at your own code?


Note: Also fixed it.
Код:
new
Iterator:Var_Seeker<MAX_PLAYERS>, // Line 2930
Iterator:HNS_Rank<MAX_PLAYERS>,
Iterator:PlayerInDerby<MAX_PLAYERS>,
Iterator:PlayerInVortex<MAX_PLAYERS>,
Iterator:PlayerInCNR<MAX_PLAYERS>,
Iterator:PlayerInMinigun<MAX_PLAYERS>,
Iterator:PlayerInJobs<MAX_PLAYERS>,
Iterator:PlayerInBattlefield<MAX_PLAYERS>,
Iterator:GodList<MAX_PLAYERS>,
Iterator:GodCar<MAX_PLAYERS>,
Iterator:CavemanPlayer<MAX_PLAYERS>,
Iterator:PiratePlayer<MAX_PLAYERS>;



Re: PLEASE - MP2 - 06.05.2015

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
Jesus is it that hard to open your eyes and look at your own code?
There's no reason to have a shitty attitude towards someone asking for help. They might be a completely novice. The compiler is also giving the wrong line* for the error, and that line looks ok.

* Technically the same line for the compiler, but not in the IDE.