error 001: expected token: "{", but found "-string-"
#1

hello when i compile the script it shows the error as it is in the title and also the code is

Код:
"[ ]Here You Can See MinigameZ And Commands!![ ] ",
please help me
Reply
#2

"[ ]Here You Can See MinigameZ And Commands!![ ] ";

Try this. If it doesn't work can you please show us the surrounding lines of code and not just this 1 ?
Reply
#3

Код:
//-----------------Newsline-----------------------------------------------======
	new news[][] =
	
 	"[ ]Here You Can See MinigameZ And Commands!![ ] ",
    "[ ] MiniGun Is Going To Start ,If You Want To Join Type /MINIGUN [ ]",
    "[ ] Want To Play BasketBall With Your Friend Then Type /BASKET [ ]",
    "[ ] /Stunt1 | /Stunt2  | /Stunt3  | /Stunt4  | /Stunt5  | /Stunt6 [ ]",
    "[ ] /Derby1  | /Derby2  | /Derby3  | /Derby4  | /Derby5  | /Derby6  | /Derby7  | /Derby8 [ ]",
    "[ ] /Drift1  | /Drift2  | /Drift3  | /Drift4  | /Drift5  | /Drift6  | /Drift7  | /Drift8 [ ]",
    "[ ] /Drift9  | /Drift10  | /Drift11  | /Drift12  | /Drift13  | /Drift14  | /Drift15  | /Drift16  | /Drift17 [ ]",
    "[ ] /Race1  | /Race2  | /Race3  | /Race4 [ ]",
    "[ ] /Jump1  | /Jump2  | /Jump3 [ ]",
    "[ ] /Nrg1  | /Nrg2  | /Nrg3  | /Nrg4  | /Nrg5  | /Nrg6 [ ]"
};
this is the full code
Reply
#4

You forgot to open brackets

PHP код:
//-----------------Newsline-----------------------------------------------======
    
new news[][] =
// <<<
    
     
"[ ]Here You Can See MinigameZ And Commands!![ ] ",
    
"[ ] MiniGun Is Going To Start ,If You Want To Join Type /MINIGUN [ ]",
    
"[ ] Want To Play BasketBall With Your Friend Then Type /BASKET [ ]",
    
"[ ] /Stunt1 | /Stunt2  | /Stunt3  | /Stunt4  | /Stunt5  | /Stunt6 [ ]",
    
"[ ] /Derby1  | /Derby2  | /Derby3  | /Derby4  | /Derby5  | /Derby6  | /Derby7  | /Derby8 [ ]",
    
"[ ] /Drift1  | /Drift2  | /Drift3  | /Drift4  | /Drift5  | /Drift6  | /Drift7  | /Drift8 [ ]",
    
"[ ] /Drift9  | /Drift10  | /Drift11  | /Drift12  | /Drift13  | /Drift14  | /Drift15  | /Drift16  | /Drift17 [ ]",
    
"[ ] /Race1  | /Race2  | /Race3  | /Race4 [ ]",
    
"[ ] /Jump1  | /Jump2  | /Jump3 [ ]",
    
"[ ] /Nrg1  | /Nrg2  | /Nrg3  | /Nrg4  | /Nrg5  | /Nrg6 [ ]"
}; 
Reply
#5

Still Same Error
Reply
#6

Hello!

Try this:
PHP код:
new news[][150] =
{
     
"[ ]Here You Can See MinigameZ And Commands!![ ] ",
    
"[ ] MiniGun Is Going To Start ,If You Want To Join Type /MINIGUN [ ]",
    
"[ ] Want To Play BasketBall With Your Friend Then Type /BASKET [ ]",
    
"[ ] /Stunt1 | /Stunt2  | /Stunt3  | /Stunt4  | /Stunt5  | /Stunt6 [ ]",
    
"[ ] /Derby1  | /Derby2  | /Derby3  | /Derby4  | /Derby5  | /Derby6  | /Derby7  | /Derby8 [ ]",
    
"[ ] /Drift1  | /Drift2  | /Drift3  | /Drift4  | /Drift5  | /Drift6  | /Drift7  | /Drift8 [ ]",
    
"[ ] /Drift9  | /Drift10  | /Drift11  | /Drift12  | /Drift13  | /Drift14  | /Drift15  | /Drift16  | /Drift17 [ ]",
    
"[ ] /Race1  | /Race2  | /Race3  | /Race4 [ ]",
    
"[ ] /Jump1  | /Jump2  | /Jump3 [ ]",
    
"[ ] /Nrg1  | /Nrg2  | /Nrg3  | /Nrg4  | /Nrg5  | /Nrg6 [ ]"
}; 

- Mencent
Reply
#7

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

Try this:
PHP код:
new news[][150] =
{
     
"[ ]Here You Can See MinigameZ And Commands!![ ] ",
    
"[ ] MiniGun Is Going To Start ,If You Want To Join Type /MINIGUN [ ]",
    
"[ ] Want To Play BasketBall With Your Friend Then Type /BASKET [ ]",
    
"[ ] /Stunt1 | /Stunt2  | /Stunt3  | /Stunt4  | /Stunt5  | /Stunt6 [ ]",
    
"[ ] /Derby1  | /Derby2  | /Derby3  | /Derby4  | /Derby5  | /Derby6  | /Derby7  | /Derby8 [ ]",
    
"[ ] /Drift1  | /Drift2  | /Drift3  | /Drift4  | /Drift5  | /Drift6  | /Drift7  | /Drift8 [ ]",
    
"[ ] /Drift9  | /Drift10  | /Drift11  | /Drift12  | /Drift13  | /Drift14  | /Drift15  | /Drift16  | /Drift17 [ ]",
    
"[ ] /Race1  | /Race2  | /Race3  | /Race4 [ ]",
    
"[ ] /Jump1  | /Jump2  | /Jump3 [ ]",
    
"[ ] /Nrg1  | /Nrg2  | /Nrg3  | /Nrg4  | /Nrg5  | /Nrg6 [ ]"
}; 

- Mencent
Thank You Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)