Jump to content

Nigga

Membru
  • Content Count

    65
  • Joined

  • Last visited

  • Days Won

    2

Nigga last won the day on October 9 2019

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. Cumpar gamemode DayZ, offer foarte bine astept un pm.
  2. Recent am bagat un sistem de neon si mi-a cam dat cu , si nu stiu cam de unde este buba. case DIALOG_NEON: { if(!response) return 1; switch(listitem) { case 0: { new idcar = SelectedCar[playerid]; if(playervariables[playerid][pCarNeon][idcar] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already have a neon on this car."); if(playervariables[playerid][pNeonR] == 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You don't have a red neon."); playervariables[playerid][pNeonR]--; Update(playerid, pNeonRx); playervariables[playerid][pCarNeon][idcar] = 1; cUpdate(playerid, idcar, cCarNeonx); if(playervariables[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SendClientMessage(playerid, COLOR_GREY, "(Info){FFFFFF} You attached a red neon on this car."); //red } case 1: { new idcar = SelectedCar[playerid]; if(playervariables[playerid][pCarNeon][idcar] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already have a neon on this car."); if(playervariables[playerid][pNeonV] == 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You don't have a green neon."); playervariables[playerid][pNeonV]--; Update(playerid, pNeonVx); playervariables[playerid][pCarNeon][idcar] = 2; cUpdate(playerid, idcar, cCarNeonx); if(playervariables[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SendClientMessage(playerid, COLOR_GREY, "(Info){FFFFFF} You attached a green neon on this car."); //green } case 2: { new idcar = SelectedCar[playerid]; if(playervariables[playerid][pCarNeon][idcar] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already have a neon on this car."); if(playervariables[playerid][pNeonG] == 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You don't have a yellow neon."); playervariables[playerid][pNeonG]--; Update(playerid, pNeonGx); playervariables[playerid][pCarNeon][idcar] = 3; cUpdate(playerid, idcar, cCarNeonx); if(playervariables[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SendClientMessage(playerid, COLOR_GREY, "(Info){FFFFFF} You attached a yellow neon on this car."); //yellow } case 3: { new idcar = SelectedCar[playerid]; if(playervariables[playerid][pCarNeon][idcar] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already have a neon on this car."); if(playervariables[playerid][pNeonRZ] == 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You don't have a pink neon."); playervariables[playerid][pNeonRZ]--; Update(playerid, pNeonRZx); playervariables[playerid][pCarNeon][idcar] = 4; cUpdate(playerid, idcar, cCarNeonx); if(playervariables[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SendClientMessage(playerid, COLOR_GREY, "(Info){FFFFFF} You attached a pink neon on this car."); //pink } case 4: { new idcar = SelectedCar[playerid]; if(playervariables[playerid][pCarNeon][idcar] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already have a neon on this car."); if(playervariables[playerid][pNeonA] == 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You don't have a blue neon."); playervariables[playerid][pNeonA]--; Update(playerid, pNeonAx); playervariables[playerid][pCarNeon][idcar] = 5; cUpdate(playerid, idcar, cCarNeonx); if(playervariables[playerid][pCarID][idcar] != 0) AttachNeon(playerid, idcar); SendClientMessage(playerid, COLOR_GREY, "(Info){FFFFFF} You attached a blue neon on this car."); //blue } } }
  3. Salutare, am si eu o problema gen cand un jucator cu wanted se afla in LV si primeste kill nu il baga in LV il trimite in LS Eu asa avea o idee dar nu stiu ce sistem sa i fac daca ma-ti ajuta voi Gen sa ii pun isplayerinarea si sa bag zonele ls, lv si sf dar nu prea am idee cum.
  4. A fost de ajuns exemplu pe care l-ai lasat mai sus multumesc
  5. 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; } }
  6. 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; }
  7. 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; }
  8. 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
  9. Inccearca sa inlocusesti cele 3 functi mysql_function_query cu mysql_tquery
  10. Nigga

    despre culori

    Cauta functia: function SetPlayerToTeamColor
×
×
  • 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.