(239)error 001: expected token: "}", but found "-string-" |
new RandomMSG[][] =
{
"Saw a Cheater/Hacker/Abuser ? Use [/report], Its the simple way to get rid of them"
(239)"Bored of the game ? Why dont you join the DMs ? [/dms]"
"Have anything to say or any requests? Tell us on our forum [/site] and we will answer you in a minute!"
"If the command [/report] wasn't useful enough, Then inform our admins by reporting the issue on our forum [/site]"
"We are always helping you!"
new RandomMSG[][4] =
{
{"Saw a Cheater/Hacker/Abuser ? Use [/report], Its the simple way to get rid of them"},
{"Bored of the game ? Why dont you join the DMs ? [/dms]"},
{"Have anything to say or any requests? Tell us on our forum [/site] and we will answer you in a minute!"},
{"If the command [/report] wasn't useful enough, Then inform our admins by reporting the issue on our forum [/site]"},
{"We are always helping you!"}
};
PHP код:
|
new RandomMSG[][4] =
( 238 ) : error 018: initialization data exceeds declared size ( 260 ) : error 010: invalid function or declaration |
new RandomMSG[][22] =
{
(238){"Saw a Cheater/Hacker/Abuser ? Use [/report], Its the simple way to get rid of them"}
{"Bored of the game ? Why dont you join the DMs ? [/dms]"}
{"Have anything to say or any requests? Tell us on our forum [/site] and we will answer you in a minute!"}
{"If the command [/report] wasn't useful enough, Then inform our admins by reporting the issue on our forum [/site]"}
{"We are always helping you!"}
{"Never Give Up!"}
{"Just Do It!"}
{"BEFORE YOU PLAY! Read our [/rules] and be informed of rules,If we catch you rule breaking, You have no chance of getting away!"}
{"The Server is on Team Death Match mode, 200 Limit players, Map San Andreas"}
{"We are always watching YOU! Even when admins are off! So watch your steps! [/rules]"}
{"Reporting people that make crashes, DDoS and... to us will be rewarded"}
{"If you believe yourself of being an admin, Then no problem, Request on forums! [/site]"}
{"Always remember! Helmets are protective shields and will prevent your head from annoying headshots!"}
{"Never even try BASE RAPING! You know that its already on [/rules] and its a restricted thing, Doing it equals punishments"}
{"Using Names and Words that contains [Racism, Political, Sarcasm and..] Will result in a heavy punishment"}
{"Never try offending someone, Its not good ! Doing it equals punishments"}
{"New to Server? Welcome! Please read our /rules , /cmds , /help , /ranks , /unlocks"}
{"You know whats the features of being a V.I.P[Donor]? Read [/vip] then!"}
{"Flooding and Spamming will be auto-kicked or a ban by our admins, If you continue flooding or spamming!"}
{"This server doesn't support or relate anything politicaly or nationaly, Its just for fun!"}
{"Dont expect dualie weapons, Real war is this!"}
{"Reporting a cheater can make the server clean, So everyone can play!, Even you right there!"}
(260)};
Message: hello there
5 cells will display hello
You need more cells for that
new MSG[][128] =
{
"Hello",
"Something",
"Something hshshdgdhshdhshgsbsusisksnsnebbsbehehehehejej" //
};
Thanks! Sorry for being a noob but still having problems!
The error disappeared but new 2 errors Errors are: Lines: PHP код:
|
new rand = random(sizeof(RandomMSG));
SendClientMessageToAll(-1, RandomMSG[rand]);