[HELP]Help with a couple errors
#1

pawn Код:
new AutoMessages[][] = { // Messages need to be changed/added - Voltage
    "Thank you for playing on National Gaming Roleplay!",
    "You are currently playing on 1.0.0.0a(lpha)!  Be sure to sign up to our forums!",
    "Want to donate to get cool things In-Game?  Contact 'Jim' or 'Liam' on the forums!",
    "Please do not ask for admin!  You will get punished!",
);
Line 47 is ");"

C:\Gebruikers\Shehab\Downloadens\National Gaming RP\gamemodes\NGRP.pwn(47) : error 029: invalid expression, assumed zero
C:\Gebruikers\Shehab\Downloadens\National Gaming RP\gamemodes\NGRP.pwn(47) : error 008: must be a constant expression; assumed zero

any help?
Reply
#2

pawn Код:
new AutoMessages[][] = { // Messages need to be changed/added - Voltage
    "Thank you for playing on National Gaming Roleplay!",
    "You are currently playing on 1.0.0.0a(lpha)!  Be sure to sign up to our forums!",
    "Want to donate to get cool things In-Game?  Contact 'Jim' or 'Liam' on the forums!",
    "Please do not ask for admin!  You will get punished!"
);
Reply
#3

Quote:
Originally Posted by xSiiiLenTx
Посмотреть сообщение
pawn Код:
new AutoMessages[][] = { // Messages need to be changed/added - Voltage
    "Thank you for playing on National Gaming Roleplay!",
    "You are currently playing on 1.0.0.0a(lpha)!  Be sure to sign up to our forums!",
    "Want to donate to get cool things In-Game?  Contact 'Jim' or 'Liam' on the forums!",
    "Please do not ask for admin!  You will get punished!",
);
Line 47 is ");"

C:\Gebruikers\Shehab\Downloadens\National Gaming RP\gamemodes\NGRP.pwn(47) : error 029: invalid expression, assumed zero
C:\Gebruikers\Shehab\Downloadens\National Gaming RP\gamemodes\NGRP.pwn(47) : error 008: must be a constant expression; assumed zero

any help?
PHP код:
new AutoMessages[][] = { // Messages need to be changed/added - Voltage
    
"Thank you for playing on National Gaming Roleplay!",
    
"You are currently playing on 1.0.0.0a(lpha)!  Be sure to sign up to our forums!",
    
"Want to donate to get cool things In-Game?  Contact 'Jim' or 'Liam' on the forums!",
    
"Please do not ask for admin!  You will get punished!"
}; 
you have forgotten to remove one , and to change the ); to };
Reply
#4

Thanks!
Reply
#5

Ahh yes, my bad haha, need to change my zoom, looks like a bracket ._.
Reply
#6

Quote:
Originally Posted by Infinity90
Посмотреть сообщение
Ahh yes, my bad haha, need to change my zoom, looks like a bracket ._.
Infinity it's late 1.48 AM (in germany)
you can say that you are tired
Reply
#7

I seem to have another error in my server exec.
[02/01/2013 01:48:37] Script[gamemodes/NGRP.amx]: Run time error 19: "File or function is not found"

?? I compiled it and stuff...
Reply
#8

Maybe you forget some plugins or called natives which are not exist.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)