Jump to content
  • 0

Problema comenzi admin


KaMeLeOn

Question

8 answers to this question

Recommended Posts

The Banned info doesnt save FIXED

someone gets banned and if they want to get ubanned to go to that website).

#define BAN_LEVEL                          6 //The Admin Level For /Ban

        LoadBanStatus(playerid);

        new BanStr[256];format(BanStr,sizeof(BanStr),""WHITE"You have Been "RED"Baneed "WHITE"By: "RED"(%s) \n\n"WHITE"Reason:\n"ORANGE"(%s)\n\n"WHITE"Banned Wrongly ?\n"WHITE"Goto: "GREEN""SERVER_NAME"",BName,BReason);

        if(PlayerInfo[playerid][banned]>=1) ShowPlayerDialog(playerid, 5648, DIALOG_STYLE_MSGBOX, ""WHITE"You Have Been "RED"Banned!", BanStr, "Close", "");

forward LoadBan(playerid, name[], value[]);

public LoadBan(playerid, name[], value[])

{

if(!strcmp(name,"Banned"))SetPVarString(playerid,"Banned", value);

if(!strcmp(name,"BannBy"))SetPVarString(playerid,"BannBy", value);

if(!strcmp(name,"BanReason"))SetPVarString(playerid,"BanReason", value);

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.