SA-MP Forums Archive
Quick question PAWN Compile/Run - 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: Quick question PAWN Compile/Run (/showthread.php?tid=304873)



Quick question PAWN Compile/Run - Phil_Cutcliffe - 20.12.2011

C:\Users\Phil\Documents\SA-MP\samp03dsvr_R2_win32\gamemodes\larp.pwn(3691) : error 029: invalid expression, assumed zero
C:\Users\Phil\Documents\SA-MP\samp03dsvr_R2_win32\gamemodes\larp.pwn(3691) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


why did that happen? how do i fix it?


Re: Quick question PAWN Compile/Run - [ABK]Antonio - 20.12.2011

Paste the lines...so we can see the actual problem lol


Re: Quick question PAWN Compile/Run - Phil_Cutcliffe - 20.12.2011

Sorry dude lol I'm new to this... I'm simply editing Raves Roleplay script to fix the english etc etc, not actually scripting.. What do i need to paste? Haha :P


Re: Quick question PAWN Compile/Run - [ABK]Antonio - 20.12.2011

press ctrl g and put 3691 then paste that line


Re: Quick question PAWN Compile/Run - Phil_Cutcliffe - 20.12.2011

{
"Are you stuck? Type /stuck to unfreeze yourself.",
"If you need help from an Admin, type /atalk [text]",
"If you need help with the gameplay of this server, you can type /n to talk in the newbie chat.",
"To see a list of server rules, type /rules.",
"See a Cheater/DMer? Use /report [id] [reason] to report him to the administration!",
"If there are no Admins online, your /report will be read when an Admin comes on duty.",
"Please do not abuse the /report cmd.",
"RP must be used at all times on this server.",
"To view the public directory type /calllist",
"If you need Police assistance use /call 912",
"Type /help for a list of commands that are avaiable for You.",
"If you find any bugs on the server please use /atalk to report it.",
};


new RandomFemaleSkins[][] =
{
{9},{10},{11},{38},{39},{40},{54},{55},{56},{63},{ 64},{75},{76},{77},
{85},{87},{88},{90},{93},{131},{130},{138},{139},{ 141},{145},{148},{149},
{152},{157},{169},{172},{178},{190},{192},{193},{1 94},{199},{198},{201},
{207},{211},{215},{219},{225},{226},{233},{237},{2 44},{246},{251},{257},
{263}
};

Just under "If you find any bugs on the server please etc etc is line 3691


Re: Quick question PAWN Compile/Run - [ABK]Antonio - 20.12.2011

remove the comma


Re: Quick question PAWN Compile/Run - Phil_Cutcliffe - 20.12.2011

Haha i was just messing around with it... I tried a space first, then i looked at the code under it and the last line had no comma.. I was wondering if you might say that, cheers dude!