Emergency Help - PLZ HELP! - 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: Emergency Help - PLZ HELP! (
/showthread.php?tid=495652)
Emergency Help - PLZ HELP! -
xHarshx - 18.02.2014
Hi, I was today converting/compiling my script to 0.3z and I got these errors:
pawn Код:
F:\UP COMPUTER\AvT\gamemodes\avt.pwn(103) : error 029: invalid expression, assumed zero
F:\UP COMPUTER\AvT\gamemodes\avt.pwn(103) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
And here is my 103 Line and I Basically have some random messages there so, I just copied the whole section.
Look:
pawn Код:
new randomMessages[][] = //here, we're creating the array with the name "randomMessages"
{
"Want to Get Unlimited Ammo and More Weapons ? Buy VIP now! For More Info, Visit: ", //this is the text of your first message
"Type /help /cmds to Get More Info About Server!", //this is the text of your second message
"Please, do keep in mind that our Server Owner is: Speed.", //this is the text of your third message
"We have a 0 percent tolerancy of Hacking/Cheating. So, for your own good, Please do not use Hacks or Cheats.", //4th message
};
Re: Emergency Help - PLZ HELP! -
MP2 - 18.02.2014
Remove the comma after the last string.
Re: Emergency Help - PLZ HELP! -
xHarshx - 18.02.2014
Thanks a lot MP2, Silly me, I didn't notice that was there. lol +REPed!