Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:skripterduty(playerid, params[], help)
- {
- #pragma unused help
- #pragma unused params
- if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BU:RP | "LJUB"Moras se ulogovati da bi koristio ovu komandu!");
- new string[256];
- if(PlayerInfo[playerid][pAdmin] == 7)
- if(SkripterDuty[playerid] == 0)
- {
- format(string,sizeof(string),""LJUB"(( "BELA"Skripter "LJUB"%s "BELA"je na duznosti !"LJUB" ))",GetName(playerid));
- SCMTA(-1,string);
- SkripterDuty[playerid] = 1;
- SetPlayerColor(playerid, 0x800080AA);
- AC_BS_SetPlayerArmour(playerid, 99.0);
- g_AC_BS_SetPlayerHealth(playerid, 99.0);
- }
- else if(SkripterDuty[playerid] == 1)
- {
- AC_BS_SetPlayerArmour(playerid, 0);
- g_AC_BS_SetPlayerHealth(playerid, 99.0);
- format(string,sizeof(string),""LJUB"(( "BELA"Skripter "LJUB"%s "BELA"vise nije na duznosti ako trebate pomoc koristite /report"LJUB" ))",GetName(playerid));
- SCMTA(-1,string);
- SetPlayerColor(playerid, BELA2);
- SkripterDuty[playerid] = 0;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment