20.12.2014, 11:44
(
Последний раз редактировалось finelaq; 20.12.2014 в 12:32.
Причина: FIXED
)
Fixed
CMD:showrules(playerid, params[])
{
if(Logged[playerid] == 1)
{
new targetid, string[128], rules[1024];
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_RED, "VIGA:{FFFFFF} Teil ei ole хigusi selle kдskluse jaoks.");
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_GREY, "KASUTA:{FFFFFF} /nдitareegleid [Mдngija ID]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_RED, "VIGA:{FFFFFF} Valitud mдngija ei viibi hetkel serveris.");
strcat(rules, "{00FF22}Reegel 1:{FFFFFF} Hackimine vхi muude modide kasutamine mis annab teile eelise on KEELATUD!\n", sizeof(rules));
strcat(rules, "{00FF22}Reegel 2:{FFFFFF} Drive By-d relvadega nagu Combat Shotgun ja Deagle on KEELATUD!\n", sizeof(rules));
strcat(rules, "{00FF22}Reegel 3:{FFFFFF} Teiste mдngijate solvamine ning norimine on KEELATUD!\n", sizeof(rules));
strcat(rules, "{00FF22}Reegel 4:{FFFFFF} Bugide дra kasutamine on KEELATUD, Kui leiate mхne bugi andke sellest teada foorumis!\n", sizeof(rules));
strcat(rules, "{00FF22}Reegel 5:{FFFFFF} Server Advertising will not be tolerated, it will lead you to a instant permanent ban.\n", sizeof(rules));
strcat(rules, "{00FF22}Reegel 6:{FFFFFF} Vдhene ropendamine on lubatud vдhe suurem aga KEELATUD!.\n", sizeof(rules));
strcat(rules, "{00FF22}Rule 7:{FFFFFF} Mдngijate spawnkillimine on KEELATUD! \n", sizeof(rules));
strcat(rules, "{00FF22}Rule 8:{FFFFFF} Pidage lugu kхikidest adminitest, ning kui leiad,et admin on teinud vea anna sellest teada foorumis!\n", sizeof(rules));
strcat(rules, "{00FF22}Rule 9:{FFFFFF} Kuid leiad kedagi tegemas midagi reeglitevastast anna sellest teada foorumis! \n", sizeof(rules));
ShowPlayerDialog(targetid, DIALOG_RULES, DIALOG_STYLE_MSGBOX, "Reeglid", rules, "Nхustu", "Keeldu");
format(string, sizeof(string), "AdmCmd:{FFFFFF} Te nдitasite mдngijale %s reegleid.", GetName(targetid));
SendClientMessage(playerid, COLOR_RED, string);
format(string, sizeof(string), "INFO:{FFFFFF} Admin %s nдitas teile serveri reegleid.", GetName(playerid));
SendClientMessage(targetid, COLOR_GREY, string);
}
return 1;
}