Jump to content

caltabos

Membru
  • Content Count

    112
  • Joined

  • Last visited

Community Reputation

1 Neutru

About caltabos

  • Rank
    Membru avansat

Profile Information

  • Sex
    Masculin
  • Name in game
    caltabos
  • Level of knowledge
    Mediu

Recent Profile Visitors

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

  1. caltabos

    Putin ajutor

    pai da-ne include-ul Tu trebuie sa pui ceva de genu: if(PlayerInfo[playerid][pAdmin] >= 1) return 1;
  2. caltabos

    rainbow vehicle

    cum fac din dialogu asta, cand dezactiveaza rainbow sa ii dea culorile initiale la masina? :
  3. caltabos

    apartamente problema

    Ba deci am bagat un sistem de apartamente dar cand ma teleportez pe langa apartamente cu o comanda sau cand dau click dreapta pe mapa (pe langa apartamente), pica serverul.
  4. caltabos

    Vehicule motorina

    Cum fac sa nu se mai ia motorina vehiculelor in timp ce stau pe loc? gamemode burned
  5. caltabos

    ls_beachside

    Am rezolvat N/A
  6. caltabos

    ls_beachside

    UPDATE: AM GASIT, DAR TREBUIE SA ADAUG SI LS_ELEVATOR.PWN SI .AMX SI LS_BEACHSIDE SAU DOAR LS_BEACHSIDE??
  7. caltabos

    paint burned

    nu a mers tura asta cand am incercat nu a dat reset la playeru care a pierdut runda
  8. caltabos

    Problema spawn

    in gamemode-ul burned ai comanda /vpark, te duci pe bicicletele din spawn-ul vehci si mergi unde vrei tu sa le parchezi si scrii comanda /vpark
  9. caltabos

    paint burned

    dupa cum se vede in poza, sistemul nu da reset la arme si la kill-uri jucatorului care a castigat!dar in sistem "se da": Asta ar fi partea legata de reset: if(PaintType[i] != 0 && PlayersOnPaint(PaintType[i]-1) >= 2) { new pp = PaintType[i]-1; if(pp < 2) { format(string, sizeof(string), "Paintball time: %s~n~Current map: %s~n~Stats: %d kills, %d deaths.~n~Total score: %d~n~Best player: %s (kills: %d)~n~%d players in paintball.", CalculeazaTimp2(PaintTime[pp]), MapName(pp), PKills[i], PDeaths[i], PKills[i]-PDeaths[i], GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]], PlayersOnPaint(pp)); } else { new masadenume[32]; GetWeaponNameEx(GetPlayerWeapon(i), masadenume, sizeof(masadenume)); format(string, sizeof(string), "Paintball time: %s~n~Current map: %s~n~Stats: %d kills, %d deaths.~n~Total score: %d~n~Level %d, Weapon: %s~n~Best player: %s (kills: %d)~n~%d players in paintball.", CalculeazaTimp2(PaintTime[pp]), MapName(pp), PKills[i], PDeaths[i], PKills[i]-PDeaths[i], GetPaintLevel(i), masadenume, GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]], PlayersOnPaint(pp)); } if(PaintTime[pp] == 0 && PaintballWinner[pp] != -1) { for(new m = 0; m < 5; m++) SendDeathMessageToPlayer(i, 1001, 1001, 200); format(string, sizeof(string), "Statistica ta in aceasta runda: %d ucideri si %d decese.", PKills[i], PDeaths[i]); SCM(i, COLOR_YELLOW, string); format(swinner, 256, "* %s a castigat runda cu %d ucideri.", GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]]); PKills[i] = 0, PDeaths[i] = 0; ResetWeapons(i); PaintballWinnerScore[pp] = 0; SendPaintMessage(PaintType[i], COLOR_YELLOW, swinner); PaintballWinner[pp] = -1; } if(PaintTime[pp] != 0 && PaintText[pp] == 0) { PlayerTextDrawSetString(i, PaintTD, string); PlayerTextDrawShow(i, PaintTD); } else { PlayerTextDrawHide(i, PaintTD); } } else PlayerTextDrawHide(i, PaintTD);
  10. caltabos

    pet ajutor

    tot asa fac si la cuvinte?
  11. caltabos

    pet ajutor

    cum pot face in sistemul asta de pet ceva in care playerii sa nu poate pune in numele petului cuvinte obscene si caractere de astea: ",~,`,%,& etc"? case DIALOG_PET: { switch(listitem) { case 0: { if(!response) return 1; if(PlayerInfo[playerid][pPetStatus] == 0) { PlayerInfo[playerid][pPetStatus] = 1; format(string, sizeof(string),"Status\t{26B309}Mounted\nNume Pet\t{FFFF00}%s\nBeneficii pet\nAvanseaza pet\t%d loiality points\nTip Pet",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetPoints]); format(string, sizeof(string), "{f4e500}Lvl %d. {41fe00}%s",PlayerInfo[playerid][pPetLevel],PlayerInfo[playerid][pPetName]); Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid); SCMEx(playerid, -1, "Ai trezit pe {41fe00}%s, {FFFFFF}alege tipul de pet pentru a se pune pe umarul tau.",PlayerInfo[playerid][pPetName]); format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '1' WHERE `Name` = '%s'", GetName(playerid)); mysql_tquery(SQL, query, " ", " "); Update(playerid, pPetStatusx); } else { RemovePet(playerid); SCMEx(playerid, -1, "Ai trimis pe {41fe00}%s {FFFFFF}la culcare.",PlayerInfo[playerid][pPetName]); PlayerInfo[playerid][pPetStatus] = 0; format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '0' WHERE `Name` = '%s'", GetName(playerid)); mysql_tquery(SQL, query, " ", " "); Update(playerid, pPetStatusx); } } case 1: { if( !response) return 1; format(string, sizeof(string),"Numele actual al pet-ului este {41fe00}%s{FFFFFF}.\nDaca doresti sa il schimbi,te rugam sa introduci numele dorit in casuta de mai jos.",PlayerInfo[playerid][pPetName]); ShowPlayerDialog(playerid, DIALOG_PET2, DIALOG_STYLE_INPUT, "Pet name change", string, "Change", "Cancel"); } case 2: { Checkstatuspet(playerid); } case 3: { if(PlayerInfo[playerid][pPetPoints] < 90) return SendClientMessage(playerid, -1, "Nu poti creste pet-ul in level deoarece nu ai Loiality Points necesare(90)"); PlayerInfo[playerid][pPetPoints] -= 90; PlayerInfo[playerid][pPetLevel] ++; Update(playerid, pPetPointsx); Update(playerid, pPetLevelx); SCMEx(playerid, -1, "Acum pet-ul tau are level {41fe00}%d",PlayerInfo[playerid][pPetLevel]); DestroyDynamic3DTextLabel(Pet[playerid]); format(string, sizeof(string), "{f4e500}Lvl %d. {41fe00}%s",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]); Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid); } case 4: { format(string, sizeof(string),"Model\tID\nParrot\t19078\nDelphin\t1607\nTurttle\t1609\nShark\t1608\nHippo\t1371\n"); ShowPlayerDialog(playerid, DIALOG_PET3, DIALOG_STYLE_TABLIST_HEADERS, "Change pet look", string, "Change", "Exit"); } } } case DIALOG_PET2: { if(!response) return 1; if(!isnull(inputtext)) { if(strlen(inputtext) >= 5 && strlen(inputtext) <= 15) { DestroyDynamic3DTextLabel(Pet[playerid]); format(query, sizeof(query),"UPDATE `users` SET `PetName` = '%s' WHERE `Name` = '%s'",inputtext, GetName(playerid)); mysql_tquery(SQL, query, "", ""); format(PlayerInfo[playerid][pPetName], 30, inputtext); SCMEx(playerid, -1, "Ai schimbat numele pet-ului in {41fe00}%s",PlayerInfo[playerid][pPetName]); Update(playerid, pPetNamex); format(string, sizeof(string), "{f4e500}Lvl %d. {41fe00}%s",PlayerInfo[playerid][pPetLevel],PlayerInfo[playerid][pPetName]); Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid); } else { SCM(playerid, COLOR_YELLOW, "Error: Nume pet invalid. (5 - 15 litere)"); format(string, sizeof(string), "Numele actual al pet-ului este {41fe00}%s\nDaca doresti sa il schimbi te rugam introdu numele dorit in casuta de mai jos\nNumele trebuie sa fie de minin 5 caractere si maxim 15",PlayerInfo[playerid][pPetName]); ShowPlayerDialog(playerid, DIALOG_PET2, DIALOG_STYLE_INPUT, "Change pet name", string, "Change", "Cancel"); } } else { SCM(playerid, COLOR_YELLOW, "Error: Nume pet invalid. (5 - 15 litere)"); format(string, sizeof(string), "Numele actual al pet-ului este {41fe00}%s\nDaca doresti sa il schimbi te rugam introdu numele dorit in casuta de mai jos\n Numele trebuie sa fie de minin 5 caractere si maxim 15",PlayerInfo[playerid][pPetName]); ShowPlayerDialog(playerid, DIALOG_PET2, DIALOG_STYLE_INPUT, "Change pet name", string, "Change", "Cancel"); } }
  12. caltabos

    textdraw reports/cheaters problema

    pai da e 2: case 1: { format(string, sizeof(string), "%s (%d) l-a raportat pe %s (%d) pentru cheats.", GetName(playerid), playerid, GetName(id), id); SendAdminMessage(0xC9161FFF, string, 1); SetPVarInt(id, "Reported", 1); SetPVarInt(id, "ReportType", 2); SetPVarString(id, "ReportedBy", GetName(playerid)); SetPVarInt(id, "ReportScore", GetPVarInt(id, "ReportScore")+1); } e reporttype de 2
  13. caltabos

    Tip Pet

    lasa ca l-am facut in alt mod sa poti schimba direct din comanda /pet si sa apara acolo tip pet, mersi oricum
  14. caltabos

    problema timer

    Am creat un nou td pentru ca secundele vreau sa fie mai mici ca minutul, dupa cum se vede in poza. Am vrut sa fac gen cum e pe nephrite! Dar oricum nu mai pun secunde m-am razgandit
×

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.