Bicas

aod su pvars..

Apr 7th, 2014
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. new bool:AdminOnDuty[MAX_PLAYERS];
  2.  
  3. stock AODRezimas(playerid)
  4. {
  5. new AodMsg[100],
  6. AodName[MAX_PLAYER_NAME]
  7. ;
  8.  
  9. if(get::AoD[playerid] == 0)
  10. {
  11. set::AoD[playerid] = true;
  12. AdminOnDuty[playerid] = true;
  13. SendClientMessage(pid, -1, "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] Įjungei Admin on Duty režimą");
  14. GetPlayerName(playerid, AodName, sizeof(AodName));
  15. format(AodMsg, sizeof(AodMsg), "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] %s įjungė Admin on Duty rėžimą", AodName);
  16. }
  17. else if(get::AoD[playerid] == 1)
  18. {
  19. set::AoD[playerid] = false;
  20. AdminOnDuty[playerid] = false;
  21. SendClientMessage(pid, -1, "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] Išjungei Admin on Duty režimą");
  22. GetPlayerName(playerid, AodName, sizeof(AodName));
  23. format(AodMsg, sizeof(AodMsg), "{ffffff}[ {0c3e47}» {ff9200}AOD{ffffff} ] %s išjungė Admin on Duty rėžimą", AodName);
  24. }
  25. else
  26. {
  27. set::AoD[playerid] = false;
  28. AdminOnDuty[playerid] = false;
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment