07.12.2014, 17:22
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0 );
return 0;
}
return 1;
}
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,51,DIALOG_STYLE_MSGBOX," {FF0303}Rules:","{1900FF}1.do not insult admins and players\n{1900FF}2.do not use cheats = ban\n3.{1900FF}if u have question ask admins\n{1900FF}4.don't spam and don't advertise other sevrers","OK","Cancel");
return 1;
}
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0 );
return 0;
}
return 1;
}
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,51,DIALOG_STYLE_MSGBOX," {FF0303}Rules:","{1900FF}1.do not insult admins and players\n{1900FF}2.do not use cheats = ban\n3.{1900FF}if u have question ask admins\n{1900FF}4.don't spam and don't advertise other sevrers","OK","Cancel");
return 1;
}