Jump to content

Nigga

Membru
  • Content Count

    57
  • Joined

  • Last visited

  • Days Won

    2

Nigga last won the day on October 9

Nigga had the most liked content!

Community Reputation

2 Neutru

1 Follower

About Nigga

  • Rank
    Membru junior

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. case 666: { new cashr = 150000 + random(300000); DisablePlayerCheckpointEx(playerid); GivePlayerCash(playerid, cashr); Update(playerid, pCashx); format(string, sizeof string, "(+) Money earned from the rob: $%s. Rob time: %d seconds.", FormatNumber(cashr), RobTime[playerid]); SendClientMessage(playerid, COLOR_GREEN, string); BusinessRob[playerid] = 1; new rando = random(sizeof(gRandomRob2)); SetPlayerCheckpointEx(playerid, gRandomRob2[rando][0],gRandomRob2[rando][1],gRandomRob2[rando][2], 4.0); CP[playerid]++; } case 667: { new cashr = 200000 + random(300000); DisablePlayerCheckpointEx(playerid); GivePlayerCash(playerid, cashr); Update(playerid, pCashx); format(string, sizeof string, "(+) Money earned from the rob: $%s. Rob time: %d seconds.", FormatNumber(cashr), RobTime[playerid]); SendClientMessage(playerid, COLOR_GREEN, string); BusinessRob[playerid] = 0; RobTime[playerid] = -1; CP[playerid] = 0; } }
  2. timer RobFunc[10000](playerid) { TogglePlayerControllable(playerid, 1); AreFriz[playerid] = 0; stop robTimer[playerid]; BusinessRob[playerid] = 2; RobTime[playerid] = 0; new rand = random(sizeof(gRandomRob)); SetPlayerCheckpointEx(playerid, gRandomRob[rand][0],gRandomRob[rand][1],gRandomRob[rand][2], 4.0); CP[playerid] = 666; SendClientMessage(playerid, COLOR_ROB, "Mergi la checkpoint-ul de pe minimap pentru a ascunde banii furati."); return 1; }
  3. YCMD:rob(playerid, params[], help) { if(playerVariables[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need level 3 to do this."); if(playerVariables[playerid][pWantedLevel] > 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You can't rob a business when you have wanted."); if(playerVariables[playerid][pRob] >= 10 && playerVariables[playerid][pPremiumAccount] == 0 || playerVariables[playerid][pRob] >= 8 && playerVariables[playerid][pPremiumAccount] > 0) { if(IsACop(playerid)) return SCM(playerid,COLOR_WHITE,"You are a cop."); if(InBussines[playerid] != -1) { DisablePlayerCheckpointEx(playerid); SendClientMessage(playerid, COLOR_ROB, "Robbing the business..."); SendClientMessage(playerid, COLOR_ROB, "Please wait 10 seconds..."); TogglePlayerControllable(playerid, 0); AreFriz[playerid] = 1; robTimer[playerid] = defer RobFunc(playerid); if(playerVariables[playerid][pPremiumAccount] == 0) playerVariables[playerid][pRob] -= 10; else if(playerVariables[playerid][pPremiumAccount] > 0) playerVariables[playerid][pRob] -= 8; SetPlayerWantedLevel(playerid, 6); show_wanted(playerid); WantedPoints[playerid] = 12; SetPlayerCriminal(playerid,-1, "armed robbery"); dailyQuestUpdate( playerid, QUEST_TYPE_ROBBERY, 1 ); Update(playerid,pRobx); Update(playerid,pWantedLevelx); if(UsedFind[playerid] == 1) { UsedFind[playerid] = 0; targetfind[playerid] = -1; CP[playerid] = 0; DisablePlayerCheckpointEx(playerid); } } else return SendClientMessage(playerid, COLOR_ROB, "Trebuie sa fi in interiorul unui business pentru a-l jefui."); } else { if(playerVariables[playerid][pPremiumAccount] == 0) SendClientMessage(playerid, COLOR_WHITE, "You don't have 10 rob points."); else if(playerVariables[playerid][pPremiumAccount] > 0) SendClientMessage(playerid, COLOR_WHITE, "You don't have 8 rob points."); } return 1; }
  4. Buna Seara, am si eu o problema la sistem ul de rob. Daca 2 jucatorii sunt in acelasi biz si dau rob le da cp separate cum pot sa fac sa le dea aceleasi cp la aman
  5. Inccearca sa inlocusesti cele 3 functi mysql_function_query cu mysql_tquery
  6. Nigga

    despre culori

    Cauta functia: function SetPlayerToTeamColor
  7. Bun, salutare recent am implementant cateva factiuni pe server din care si vrio 2 mafii dar cand dau /attack imi da eroarea https://prnt.sc/pfipkj Si dupa ce se termina timp-ul de war nu imi dispare timer si uneori nu ea dmg un membru din alta mafie. Cateva ideii? Aici a trimite cod-ul: https://prnt.sc/pfiqxt
  8. YCMD:setskin(playerid, params[], help) { tu din cate vad ai pusa o ( acolo.
  9. Posibil nu ai setat exterior-ul bine ori daca nu uitate in baza de date sa nu mai fie un alt vw la fel si la alta fatiune.
  10. Nigga

    Problema Sistem

    https://prnt.sc/pf256t
  11. Nigga

    Problema Sistem

    Vreau sa precizez ca sunt incluse in mysql si da, se incarca pluginul streamer pe localhost merge ok dar pe host nu mi le arata.
  12. Am si eu o problema cu un sistem de Billboards, deci pe localhost le pot vedea iar cand urc tot-ul pe host nu le mai vad.
  13. Nigga

    Tutorial help

    Salutare, care imi poate zice si mie cum fac un tutorial si ce program sa folosesc sa mi se miste camera?!
  14. Nigga

    Problema Park

    Salutare, folosesc gm-ul enternal si cand dau /park nu mi se salveaza compnentele, aveti idee unde este buba?
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.