Guest User

Untitled

a guest
Aug 21st, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. CMD:bacinovcic(playerid,params[])
  2. {
  3. if(IsPlayerInRangeOfPoint(playerid, 3.0, 1480.3209,-1640.0601,14.1484))
  4. {
  5. if(PlayerInfo[playerid][pAlcatraz] > 0 || PlayerInfo[playerid][pZatvorTime] > 0 || PlayerInfo[playerid][pMaraton] > 0) return SCM(playerid, SIVA, "Ne mozes to, zatvoren si.");
  6. new string2[128],reason;
  7. if(PlayerInfo[playerid][pZatvor] > 0 || PlayerInfo[playerid][pAlcatraz] > 0) return SCM(playerid, COLOR_RED, "{FFFFFF}U zatvoru si!");
  8. if(PlayerInfo[playerid][pMaraton] > 0) return SCM(playerid,-1,"{FFFFFF} Ti si na maratonu, ne mozes to!");
  9. if(AskPoslo[playerid] == 1)
  10. {
  11. SendClientMessage(playerid, COLOR_GREY, "{FFFFFF}Vec ste bacili novcic Sacekajte malo.");
  12. return 1;
  13. }
  14. if(sscanf(params,"s[128]",reason)) return SendClientMessage(playerid,-1,"{48E31C}AG:RP | {FFFFFF}/bacinovcic [Text]");
  15. format(string2,sizeof(string2),"{C0C0C0}[ZELJA]{FF0000} Zelja od %s (ID:%d, Level:%d) -{FFFFFF} %s",GetName(playerid),playerid,PlayerInfo[playerid][pLevel],reason);
  16. GBroadCast(SVETLOPLAVA, string2, 4);
  17. SCM(playerid,-1,"{FFFFFF} Vasa zelja je poslata svim online Adminima/Supporterima.");
  18. AskPoslo[playerid] = 1;
  19. SetTimerEx("AskqReset", 60000, false, "i", playerid);
  20. return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment