getting 1 error
#1

error 001: expected token: "}", but found "{"
Reply
#2

Show us your script, I cant see inside of your head
Reply
#3

PHP код:
{"[AutoMessage] If you are ever need help ask admin or ask in main chat - use /commands"},
    {
"[AutoMessage] If you saw something bugged in the server report it now at forums"},
    {
"[AutoMessage] Check out our forums for the latest/upcoming updates! /forums"},
    {
"[AutoMessage] Do not give any login details to anyone! Staff of Al will not ask for login details!"},
    {
"[AutoMessage] Found an hacker or something breaking the rules /report or report it at forums! "},
    {
"[AutoMessage] Hackers/Cheaters will not get unbanned only with a special reason or proof!"}
 
this line is bugged{"[AutoMessage] If you guys need any help you can freely ask the admins also they will surely help you"}
}
{
enum TLocation

Reply
#4

- At the end you need to add a semicolon.
- An enumerator for the Messages array is not needed and neither the extra brackets.
- You have an open bracket before enum TLocation.
- You forgot a comma at pre-last.

PHP код:
new const Messages[][] =
{
    
"[AutoMessage] If you are ever need help ask admin or ask in main chat - use /commands",
    
"[AutoMessage] If you saw something bugged in the server report it now at forums",
    
"[AutoMessage] Check out our forums for the latest/upcoming updates! /forums",
    
"[AutoMessage] Do not give any login details to anyone! Staff of Al will not ask for login details!",
    
"[AutoMessage] Found an hacker or something breaking the rules /report or report it at forums!",
    
"[AutoMessage] Hackers/Cheaters will not get unbanned only with a special reason or proof!",
    
"[AutoMessage] If you guys need any help you can freely ask the admins also they will surely help you"
}; 
Reply
#5

:/ Please edit the post and put it in Tags, PHP or HTML
Reply
#6

thanks guys for the help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)