Код:
}
CMD:rules(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
ShowPlayerDialog(playerid, DIALOG_RULES, DIALOG_STYLE_LIST, "Rules", "1. No Teamkilling (Accidental is fine)\n2. No Car Parking\n3. No Hacking or Bug Abusing\n4. No Insulting Others\n5. No Spamming\n6. Always follow orders from Administators!\n7. Speak English at all times\n8. No Spawn Killing\n9. No Boosting (Letting a Player kill you over and over or vice versa)\n10. No Driver Drive-By (DDB)", "Okay", "");
return 1;
}
CMD:kill(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
SetPlayerHealth(playerid, 0);
return 1;
}
CMD:clanspawn_test(playerid, params[])
{
Locked[playerid] = 0;
SendClientMessage(playerid, COLOR_YELLOW, "Clan spawn successful");
return 1;
}
CMD:levels(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid,COLOR_GREY,"0-49 kills: Desert Eagle.");
SendClientMessage(playerid,COLOR_GREY,"50-99 kills: Desert Eagle, Shotgun.");
SendClientMessage(playerid,COLOR_GREY,"100-149 kills: Desert Eagle, Shotgun, MP5.");
SendClientMessage(playerid,COLOR_GREY,"150-199 kills: Desert Eagle, Shotgun, MP5, AK47.");
SendClientMessage(playerid,COLOR_GREY,"200-249 kills: Desert Eagle, Shotgun, MP5, AK47, County Rifle.");
SendClientMessage(playerid,COLOR_GREY,"250-299 kills: Desert Eagle, Shotgun, MP5, County Rifle, M4A1.");
SendClientMessage(playerid,COLOR_GREY,"300-349 kills: Desert Eagle, MP5, County Rifle, M4A1, SPAS12.");
SendClientMessage(playerid,COLOR_GREY,"350-399 kills: Desert Eagle, MP5, M4A1, SPAS12, Sniper Rifle.");
SendClientMessage(playerid,COLOR_GREY,"400-449 kills: Desert Eagle, MP5, M4A1, SPAS12, Sniper Rifle, 25 armor.");
SendClientMessage(playerid,COLOR_GREY,"TO VIEW MORE, DO /levels2");
return 1;
}
CMD:levels2(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid,COLOR_GREY,"450-499 kills: Desert Eagle, MP5, M4A1, SPAS12, Sniper Rifle, 50 armor.");
SendClientMessage(playerid,COLOR_GREY,"500-549 kills: Desert Eagle, Shotgun, MP5, M4A1, SPAS12, Sniper Rifle, 75 armor.");
SendClientMessage(playerid,COLOR_GREY,"550-599 kills: Desert Eagle, Shotgun, MP5, M4A1, SPAS12, Sniper Rifle, 100 armor.");
SendClientMessage(playerid,COLOR_GREY,"600-649 kills: Desert Eagle, Shotgun, MP5, M4A1, SPAS12, Sniper Rifle, 100 armor, Grenades.");
SendClientMessage(playerid,COLOR_GREY,"650-9999 kills: Desert Eagle, Shotgun, MP5, M4A1, SPAS12, Sniper Rifle, 100 armor, Grenades, RPG.");
return 1;
}
}
return 0;
}