(error) script after /changename
#3

the problem is that you forgot a } at the end of the file
theese other warnings are because you made everithing in a single row:

example:
Код:
if(strcmp(cmdtext,"/aclearchat",true)==0)
   {
     if(adminlevel[playerid] == 7)
     {
     GetPlayerName(playerid, playername, sizeof(playername));
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
     SendClientMessageToAll(COLOR_GREY," ");
      format(string,sizeof(string),"Admin %s has cleared the chat", playername);
      SendClientMessageToAll(COLOR_GREEN, string);
}
     return 1;
     }
it should look like this:

Код:
if(strcmp(cmdtext,"/aclearchat",true)==0)
{
	if(adminlevel[playerid] == 7)
	{
		GetPlayerName(playerid, playername, sizeof(playername));
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		SendClientMessageToAll(COLOR_GREY," ");
		format(string,sizeof(string),"Admin %s has cleared the chat", playername);
		SendClientMessageToAll(COLOR_GREEN, string);
	}
return 1;
}
Reply


Messages In This Thread
(error) script after /changename - by geerdinho8 - 29.04.2010, 18:21
Re: (error) script after /changename - by [SL]Deo - 29.04.2010, 18:28
Re: (error) script after /changename - by Gigi-The-Beast - 29.04.2010, 18:29
Re: (error) script after /changename - by [SL]Deo - 29.04.2010, 18:42
Re: (error) script after /changename - by geerdinho8 - 29.04.2010, 18:50
Re: (error) script after /changename - by CAR - 29.04.2010, 19:15
Re: (error) script after /changename - by geerdinho8 - 29.04.2010, 19:20
Re: (error) script after /changename - by MadeMan - 29.04.2010, 19:38
Re: (error) script after /changename - by geerdinho8 - 29.04.2010, 19:47
Re: (error) script after /changename - by geerdinho8 - 29.04.2010, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)