what should i di for that errors {7}
#1

hello,when iam added new clans i get 7 errors but iam not understand why i got it
and it's works in onther gamemode
this line have more 4 errors:

Quote:

AFK[playerid] = Create3DTextLabel("AFK", 0xFF0000FF, 0.0, 0.0, 2.0, 40, 0, 0);

and this line have 1 error:
Quote:

SendMessageToPlayer(playerid,0x99FF00AA,"Type /back when you back.");

here 1 error:
Quote:

} else return SendMessageToPlayer(playerid,COLOR_RED,"ERROR: You must be [SS] higher level to use this command");

here 1 error :
Quote:

} else return SendMessageToPlayer(playerid,COLOR_RED,"ERROR: You must be a SS member to use this command");}

Reply
#2

Code:
 else return SendMessageToPlayer(playerid,COLOR_RED,"ERROR: You must be a SS member to use this command");}
You've got an extra brace ( } ) on that line... Chances are that the braces are your issue.

You'll need to review your code.
Reply
#3

You don't mistaken with "SendClientMessage"?
Reply
#4

This should SendClientMessage instead of SendMessageToPlayer and AFK[playerid] looks like not defined.
Have you new AFK[MAX_PLAYERS]; near the top of your script?
Reply
#5

i will try that thx all
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)