Jump to content

Rafaly

Membru
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutru

About Rafaly

  • Rank
    Membru

Recent Profile Visitors

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

  1. Daca e GM HPQ123 100% e buguit.Incearca sa creezi in baza de date de 2x ori jobul si va merge 100%.
  2. Rezolvat,multumiri lui qSorin!
  3. Pai instaleaza mysql static.
  4. Salutare! Am gasit si eu recent o problema,dupa adaugarea unei factiuni nu mergea sa intru in hq-ul ei ,apoi mi-am dat seama ca toate sunt lafel.Oare de la ce poate sa fie?
  5. Rafaly

    YCMD:admins

    Deci inseamna ca trebuie sa pun la fiecare comanda asta?
  6. Usor,din baza de date sau gm.Te pui pe ele dai /save si cauti coordonatele pe care le ai in save in gm sau baza + id-ul pickupului.Daca nu le stii cauta pe net samp pickups id!
  7. Rafaly

    YCMD:admins

    Salutare! As dorii sa aflu si eu cum as putea sa creez un Tag permanent pentru admini sau / si vipi.(Fondator NUME: Salut,Owner: NUME : Salut)si cum pot adauga la comanda admins rankul fiecarui nivel de admin in parte! Va las aici comanda sa va fie mai usor.Multumesc anticipat ! YCMD:admins(playerid, params[], help) { new string[128]; format(string, sizeof(string), "---------------- Admini conectati ----------------"); SCM(playerid, COLOR_SERVER, string); if(PlayerInfo[playerid][pAdmin] < 1) { foreach(PlayerAdmins, i) { if(PlayerInfo[pScripter] > 0) format(string, sizeof(string), "(%d) %s - %s", i, PlayerInfo[pUsername], PlayerInfo[pAdmin] < 8 ? ("Scripter") : ("Fondator")); format(string, sizeof(string), "(%d) %s - admin level %d", i, PlayerInfo[pUsername], PlayerInfo[pAdmin]); SCM(playerid, -1, string); } } else { foreach(PlayerAdmins, i) { if(GetPVarInt(i, "Cover") == 1) format(string, sizeof(string), "(%d) %s - admin level %d [afk: %d] [cover: %s]", i, PlayerInfo[pUsername], PlayerInfo[pAdmin], AFKSeconds, GetName(i)); else if(Spectate != 255) format(string, sizeof(string), "(%d) %s - admin level %d [afk: %d] [spec: %s]", i, PlayerInfo[pUsername], PlayerInfo[pAdmin], AFKSeconds, GetName(Spectate)); else format(string, sizeof(string), "(%d) %s - admin level %d [afk: %d]", i, PlayerInfo[pUsername], PlayerInfo[pAdmin], AFKSeconds); SCM(playerid, -1, string); } } SCM(playerid, COLOR_SERVER, "--------------------------------------------------------"); SCM(playerid, COLOR_WHITE, "Daca ai vreo problema, poti folosi /report. Pentru intrebari legate de joc poti folosi /n."); SCM(playerid, COLOR_SERVER, "--------------------------------------------------------"); return true; }
  8. Pentru a putea lucra cu Pawno (stiu ca sunt multi doritori) intrati in fisierul [pawno] --> si face-ti un fisier cu numele pawn.cfg .Acolo trebuie sa inserati aceste caractere (-;+ -v2 -d3 -Z+ -\\)+) *fara paranteze * si o sa mearga.Spor la scriptat
  9. Ms mult!Ma poti ajuta cu inca o chestie?Cum ai mai explicat la un topic precedent,la comanda /admins as dorii ca fiecare rank sa aiba un alt nume iar ca in chat sa scrie in fata numelui de ex(Fondator nume: salut).Daca este nevoie ,voi face un topic nou.
  10. Eroare : warning 219: local variable "InainteDeSpec" shadows a variable at a preceding level Linie : new Float:InainteDeSpec[MAX_PLAYERS][3];
  11. Salut !,stiu ca nu are legatura cu subiectul,imi poti da un discord,ceva de al tau!Multumesc anticipat!
  12. Rafaly

    Ajutor panel

    Incerc sa te ajut eu,da-mi add pe discord Rafaly#0998
  13. Se pare ca a uitat de postare YCMD:order(playerid, params[], help) { if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { new result[30]; if(!PlayerToPoint(100, playerid, -2158.6482,642.3111,1052.3750)) return SCM(playerid, COLOR_GREY, "Nu esti in HQ!"); if(PlayerHit[playerid] == -1) return SCM(playerid, COLOR_LGREEN, "Eroare: Poti lua arme doar atunci cand ai un contract!"); if(sscanf(params, "s[30]", result)) { SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/order <id>"); SCM(playerid, COLOR_WHITE, "1. Knife (10 $) | 2. SD-Pistol (100 $) | 3. Sniper (200 $)"); return true; } if(PlayerInfo[playerid][pGunLic] == 0) return SCM(playerid,-1,"Nu ai licenta de arme!"); if(strcmp(result,"1",true) == 0) { if(PlayerMoney(playerid, 10)) return true; ServerWeapon(playerid, 4, 200); SCM(playerid, COLOR_MONEY, "Ti-ai cumparat un cutit la pretul de 10$."); GivePlayerCash(playerid, 0, 10); return true; } else if(strcmp(result,"2",true) == 0) { if(PlayerMoney(playerid, 100)) return true; ServerWeapon(playerid, 23, 200); SCM(playerid, COLOR_MONEY, "Ti-ai cumparat un SD-Pistol la pretul de 100$."); GivePlayerCash(playerid, 0, 100); return true; } else if(strcmp(result,"3",true) == 0) { if(PlayerMoney(playerid, 200)) return true; ServerWeapon(playerid, 34, 200); SCM(playerid, COLOR_MONEY, "Ti-ai cumparat un Sniper la pretul de 200$."); GivePlayerCash(playerid, 0, 200); return true; } else return SCM(playerid, COLOR_GREY, "Invalid id!"); } if(!IsMafie(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti membrul unei mafii."); if(PlayerInfo[playerid][pGunLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu ai licenta de arme."); if(GetPlayerInterior(playerid) == 0) return SCM(playerid, COLOR_WHITE,"Nu esti in HQ."); if(!IsAtOrderPlace(playerid)) return true; new x = PlayerInfo[playerid][pMember]-1, var[3]; if(SafeInfo[x][sMaterials] < ValueMafie[0][1] && SafeInfo[x][sMoney] < ValueMafie[0][0]) return SCM(playerid, COLOR_GREY, "Nu ai materiale sau bani de ajuns."); for(new i = 0; i < 5; i++) { if(SafeInfo[x][sMaterials] < ValueMafie[1] && SafeInfo[x][sMoney] < ValueMafie[0] || !PlayerInfo[playerid][pGuns]) continue; SafeInfo[x][sMaterials] -= ValueMafie[1]; SafeInfo[x][sMoney] -= ValueMafie[0]; ServerWeapon(playerid, GunMafieID[0], 60); var[0] ++; var[1] += ValueMafie[1]; var[2] += ValueMafie[0]; } SaveSeif(x); format(gString, 100, "(/order) {FFFFFF}Ai primit %d arme si ai dat %s materiale si $%s.", var[0], FormatNumber(var[1]), FormatNumber(var[2])); SCM(playerid, COLOR_LGREEN, gString); return true; } function IsMafie(playerid) return PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10 ? (true) : (false); Cam asta e,e din GM lui HPQ123.
  14. Rafaly

    Special Quest

    Stii ca trebuie sa apesi H si dupa sa le pui in vehicul nu?
×
×
  • 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.