AddPlayerClass(Ex) invalid expression, assumed zero - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: AddPlayerClass(Ex) invalid expression, assumed zero (
/showthread.php?tid=253059)
AddPlayerClass(Ex) invalid expression, assumed zero -
jSherz - 04.05.2011
Hi, I have a line of code inside of OnGameModeInit:
Код:
AddPlayerClassEx(TEAM_GROVE_STREET, 105, 0.0, 0.0, 0.0, 0.0, WEAPONS_MELEE, 0, WEAPONS_PISTOL, WEAPONS_PISTOL_AMMO, WEAPONS_SNIPER, WEAPONS_SNIPER_AMMO);
All of the global variables that are in capitals are defined above yet I get the following errors when compiling: