Guest User

Untitled

a guest
Jun 28th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. YCMD:skripterduty(playerid, params[], help)
  2. {
  3. #pragma unused help
  4. #pragma unused params
  5. if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BU:RP | "LJUB"Moras se ulogovati da bi koristio ovu komandu!");
  6. new string[256];
  7. if(PlayerInfo[playerid][pAdmin] == 7)
  8. if(SkripterDuty[playerid] == 0)
  9. {
  10. format(string,sizeof(string),""LJUB"(( "BELA"Skripter "LJUB"%s "BELA"je na duznosti !"LJUB" ))",GetName(playerid));
  11. SCMTA(-1,string);
  12. SkripterDuty[playerid] = 1;
  13. SetPlayerColor(playerid, 0x800080AA);
  14. AC_BS_SetPlayerArmour(playerid, 99.0);
  15. g_AC_BS_SetPlayerHealth(playerid, 99.0);
  16. }
  17. else if(SkripterDuty[playerid] == 1)
  18. {
  19. AC_BS_SetPlayerArmour(playerid, 0);
  20. g_AC_BS_SetPlayerHealth(playerid, 99.0);
  21. format(string,sizeof(string),""LJUB"(( "BELA"Skripter "LJUB"%s "BELA"vise nije na duznosti ako trebate pomoc koristite /report"LJUB" ))",GetName(playerid));
  22. SCMTA(-1,string);
  23. SetPlayerColor(playerid, BELA2);
  24. SkripterDuty[playerid] = 0;
  25. }
  26. return 1;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment