public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_COP) { if(response) { if(listitem == 0) //járõr { if(IsPlayerLAdmin(playerid) >= 2) { GivePlayerWeapon(playerid,22,500); GivePlayerWeapon(playerid,24,500); GivePlayerWeapon(playerid,26,500); GivePlayerWeapon(playerid,28,500); GivePlayerWeapon(playerid,30,500); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); } else { SendClientMessage(playerid, 0xFF0606FF, \"Nem vagy minimum 2-es szintû admin!\"); return 1; } } } } return 1;}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_COP) { if(response) { if(listitem == 0) //járõr { if(IsPlayerAdminLevel(playerid, level) >= 2) { GivePlayerWeapon(playerid,22,500); GivePlayerWeapon(playerid,24,500); GivePlayerWeapon(playerid,26,500); GivePlayerWeapon(playerid,28,500); GivePlayerWeapon(playerid,30,500); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); } else { SendClientMessage(playerid, 0xFF0606FF, \"Nem vagy minimum 2-es szintû admin!\"); return 1; } } } } return 1;}
Ha nem baj akkor megcsináltam neki Ha nem tudná hogyan kell*code*