Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new bool:AdminOnDuty[MAX_PLAYERS];
- stock AODRezimas(playerid)
- {
- new AodMsg[100],
- AodName[MAX_PLAYER_NAME]
- ;
- if(get::AoD[playerid] == 0)
- {
- set::AoD[playerid] = true;
- AdminOnDuty[playerid] = true;
- SendClientMessage(pid, -1, "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] Įjungei Admin on Duty režimą");
- GetPlayerName(playerid, AodName, sizeof(AodName));
- format(AodMsg, sizeof(AodMsg), "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] %s įjungė Admin on Duty rėžimą", AodName);
- }
- else if(get::AoD[playerid] == 1)
- {
- set::AoD[playerid] = false;
- AdminOnDuty[playerid] = false;
- SendClientMessage(pid, -1, "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] Išjungei Admin on Duty režimą");
- GetPlayerName(playerid, AodName, sizeof(AodName));
- format(AodMsg, sizeof(AodMsg), "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] %s išjungė Admin on Duty rėžimą", AodName);
- }
- else
- {
- set::AoD[playerid] = false;
- AdminOnDuty[playerid] = false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment