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