Pawn compiler crash
#4

I have the same problem: pawn complier crashing but i checked my script and it had no errors. Here's all the new text i added:
Код:
//AdditionalDcmd-------------------------------------------------------------------//
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmd,"/rules",true)==0)
	{
	  if(IsPlayerConnected(playerid))
	  {
	    SendClientMessage(playerid,0xFF0000AA,"1. Respect All Admins and Players");
	    SendClientMessage(playerid,0xFF0000AA,"2. Deathmatching ONLY in the Deathmatching Arena, east from East Beach");
	    SendClientMessage(playerid,0xFF0000AA,"3. No miniguns AT ALL");
	    SendClientMessage(playerid,0xFF0000AA,"Violation of these rules will result in:");
	    SendClientMessage(playerid,0xFF0000AA,"Warn, then kick, then ban.");
		}
 	}
	return 1;
}
I then added this among a set of dcmds:
Код:
dmcd_rules(playerid,params[]) {
  if(IsPlayerConnected(playerid))
	  {
	    SendClientMessage(playerid,0xFF0000AA,"1. Respect All Admins and Players");
	    SendClientMessage(playerid,0xFF0000AA,"2. Deathmatching ONLY in the Deathmatching Arena, east from East Beach");
	    SendClientMessage(playerid,0xFF0000AA,"3. No miniguns AT ALL");
	    SendClientMessage(playerid,0xFF0000AA,"Violation of these rules will result in:");
	    SendClientMessage(playerid,0xFF0000AA,"Warn, then kick, then ban.");
		}
}
if it helps i use a dcmd system.
Reply


Messages In This Thread
Pawn compiler crash - by Galcio - 19.12.2009, 19:31
Re: Pawn compiler crash - by Toney - 19.12.2009, 19:32
Re: Pawn compiler crash - by Galcio - 19.12.2009, 19:34
Re: Pawn compiler crash - by Swordplay2612 - 04.01.2010, 03:36
Re: Pawn compiler crash - by Agent Smith - 04.01.2010, 06:51
Re: Pawn compiler crash - by BP13 - 04.01.2010, 07:38

Forum Jump:


Users browsing this thread: 1 Guest(s)