Jump to content

silviuYT2006

Membru
  • Posts

    17
  • Joined

  • Last visited

Posts posted by silviuYT2006

  1. On 8/24/2021 at 2:31 PM, nezosu2 said:

    Username: ZenkoADV
    Nume gamemode: NEW-LIFE RPG v2 + Panel
    Creator (sau editor):hpq edit newton-  ZenkoADV
    Poze/Video Gamemode NEW-LIFE V2 by ZenkoADV - Imgur 
    Canal YouTube: Zenko - YouTube
    Discord: ZenkoADV#1107
    La 800subs un nou GM ❤️ va pwp
    Link Virustotal: VirusTotal
    Link download: [hide]https://www116.zippyshare.com/v/2bKb0Ggw/file.html[/hide]

    Link Download Direct: [hide]https://www.udrop.com/file/5YjR/GM_Zenko_HPQEDIT.rar[/hide]
    Alte precizări: Re va salut - m-am gandit sa dau si versiunea a 2 a new-life-ului - doar ca mult mai avansata ca prima + PANEL compatibil
    Gm-ul are 195 tick-uri fara probleme la 15 on 
    Sistem de neoane rainbow functional /neons   (trebuie adaugat in /v sau in /shop
    Locul de baza este in oraselul Dillimore ( exam  , spawn , bizz-uri , job-ul fish , mapping etc )
    Sistem de servieta destul de misto (not me)
    FBI MAPPAT LSPD MAPPAT (trebuie sa verificati putin lspd-ul) DS mappat (credite unualex) 
    vedeti in poze mai multe 
    Nu am spus si prezentat toate sistemele - aveti pubg arena full functional - 
    job vacar nou , sistem de facebook , etc
    Buguri rezolvate - gm optimizat ff bine 
    Descoperiti voi restul in gm ( se copileaza cu zeex - sublime )
    Aveti discord-ul mai sus in caz de nu stiti cv

    panel?

  2. 26 minutes ago, silviuYT2006 said:

    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [23:38:26] password = ""  (string)
    [23:38:26]
    [23:38:26] Server Plugins
    [23:38:26] --------------
    [23:38:26]  Loading plugin: sscanf
    [23:38:26]

    [23:38:26]  ===============================

    [23:38:26]       sscanf plugin loaded.     

    [23:38:26]          Version:  2.8.1        

    [23:38:26]    (c) 2012 Alex "Y_Less" Cole  

    [23:38:26]  ===============================

    [23:38:26]   Loaded.
    [23:38:26]  Loading plugin: mysql_static
    [23:38:26]   Failed.
    [23:38:26]  Loading plugin: streamer
    [23:38:26]

    *** Streamer Plugin v2.9.4 by Incognito loaded ***

    [23:38:26]   Loaded.
    [23:38:26]  Loaded 2 plugins.

    [23:38:27]
    [23:38:27] Filterscripts
    [23:38:27] ---------------
    [23:38:27]   Loading filterscript 'ls_apartments1.amx'...
    [23:38:27]

    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--- LS Apartments 1 Filterscript
    [23:38:27]   |--  Script v1.02
    [23:38:27]   |--  5th February 2015
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--  LS Apartments 1 Building object created
    [23:38:27]   |--  LS Apartments 1 Car Park object created
    [23:38:27]   |--  LS Apartments 1 Elevator created
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   Loading filterscript 'ls_beachside.amx'...
    [23:38:27]

    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--- LS BeachSide Filterscript
    [23:38:27]   |--  Script v1.03
    [23:38:27]   |--  19th April 2015
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--  LS BeachSide Building Elevator created
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   Loading filterscript 'ls_elevator.amx'...
    [23:38:27]   Loaded 3 filterscripts.

    [23:38:27] Script[gamemodes/newton.amx]: Run time error 19: "File or function is not found"
    [23:38:27] Number of vehicle models: 0

    nu merge ce pot face

     

    lasati ca am rezolvat

  3. SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [23:38:26] password = ""  (string)
    [23:38:26]
    [23:38:26] Server Plugins
    [23:38:26] --------------
    [23:38:26]  Loading plugin: sscanf
    [23:38:26]

    [23:38:26]  ===============================

    [23:38:26]       sscanf plugin loaded.     

    [23:38:26]          Version:  2.8.1        

    [23:38:26]    (c) 2012 Alex "Y_Less" Cole  

    [23:38:26]  ===============================

    [23:38:26]   Loaded.
    [23:38:26]  Loading plugin: mysql_static
    [23:38:26]   Failed.
    [23:38:26]  Loading plugin: streamer
    [23:38:26]

    *** Streamer Plugin v2.9.4 by Incognito loaded ***

    [23:38:26]   Loaded.
    [23:38:26]  Loaded 2 plugins.

    [23:38:27]
    [23:38:27] Filterscripts
    [23:38:27] ---------------
    [23:38:27]   Loading filterscript 'ls_apartments1.amx'...
    [23:38:27]

    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--- LS Apartments 1 Filterscript
    [23:38:27]   |--  Script v1.02
    [23:38:27]   |--  5th February 2015
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--  LS Apartments 1 Building object created
    [23:38:27]   |--  LS Apartments 1 Car Park object created
    [23:38:27]   |--  LS Apartments 1 Elevator created
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   Loading filterscript 'ls_beachside.amx'...
    [23:38:27]

    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--- LS BeachSide Filterscript
    [23:38:27]   |--  Script v1.03
    [23:38:27]   |--  19th April 2015
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   |--  LS BeachSide Building Elevator created
    [23:38:27]   |---------------------------------------------------
    [23:38:27]   Loading filterscript 'ls_elevator.amx'...
    [23:38:27]   Loaded 3 filterscripts.

    [23:38:27] Script[gamemodes/newton.amx]: Run time error 19: "File or function is not found"
    [23:38:27] Number of vehicle models: 0

    nu merge ce pot face

     

  4. On 1/10/2020 at 9:33 PM, MihaiT11 said:

    Salut.Astazi voi posta primul gamemode edit burned.Acesta consta in copia server-ului Crowland.Eu am o versiune mult mai optimizata + toate sistemele dupa crowland.

    Va voi oferii o versiune de start sa zic asa.Nu l-as recomanda daca ati vrea sa faceti ceva unic.

    Eu sincer nu mi as deschide server.In fine.

    Lista Update uri: (pana la 3.0.0) restul nu va dau

    #if defined crowland
    ==================== VERSION 1 . 0 .0================================================
     = scoasa protectia pentru admini
     = scoasa race arena
     = scos giftbox-ul 
     = scos questul special
     = scoasa bara cu informatii la conectarea pe server
     = scoasa primaria
     = scoasa biserica 
     = scos sistemul de casatorie si divort
     = scoase eventele CS ( cs arena), zombie lcs, lms, stunt
    ==================== VERSION 1 . 5 . 0 ===============================================
     = acum nu mai apare la login cand te ai conectat ultima oara, doar pentru admini
     = scos sistemul de realizari
     = tutorial asemanator crowland
     = logo asemanator crowland
     = server mode ca pe crowland (CROWLAND x/xx/xxxx)
     = rezolvat bugul la NRG-500 (nu scadea fuel, ramanea blocat la 100% fuel)
     = procesorul de comenzi trecut de la ZCMD la YCMD 
     = comenzi prescurtate adaugate tot pe YCMD
     = scos actorul de la comanda /tutorial
     ==================== VERSION 2 . 0 . 0 ===============================================
     = adaugat un stock cu SCMEx ( un inlocuitor pentru format(string, sizeof(string), ""); sa nu mai faci alt string)
     = comanda [/stats] asemanatoare crowland 
     = scoasa misiunea zilnica castiga o cursa la Race Arena 
     = misiunile zilnice dezactivate temporar
     = tutorial asemanator crowland 
     = shop asemanator crowland
     = daca ai cont Ultra Premium, la relog dupa cumparare apare deasupra capului [ULTRA USER]
     = daca ai cont Ultra Premium nu mai ai acces la comanda /flip si /nos 
     = rezolvat un bug ( nu primeai hotring-ul din shop decat in baza de date dar pe server nu)
     = scos din mesaje random pe server mesajul cu arena de curse si arena Counter Strike 
     = acum poti intra la paintball, deoarece comanda nu exista era afisat doar un mesaj (momentan dezactivata)
     ==================== VERSION 2 . 5 . 0 ===============================================
     = scos pickup-ul si text-ul de la city Hall + nu mai poti intra la primarie
     = adaugat sistem de pet asemanator crowland (fara pet skins) ce il primesti automat la level 2.
     = pet-ul se salveaza in baza de date (nume, status, level, points)
     = scos bizz-ul cs arena
     = rezolvat un bug la spawn (cateodata te spawna cu 0 HP si te spawnai din nou)
     = nu mai poti adauga muzica pe plaja 
     = scos bizz ul cu id 17 (Era Arena Counter Strike)
     = scoasa mapa dupa plaja cea cu summer quest burned
     = acum la jobul farmer ls trebuie sa mergi cu tractorul 40 de secunde pt a primii faina
     = scoasa factiunea firemans (facea parte din factiunea paramedics acum este doar Paramedics)
     = scos sistemul de incendii
     = panel si forum trecut pe define 
     = spawn asemanator crowland (langa LSPD)
     = comanda [/givepp] dezactivata temporar
     = scos sistemul de mine sweeper
     = scos systemul de Walk Style
     = Rent Car scos 
     = Adaugat rentcar asemanator crowland (adaugi stock la rentcar folosind comanda [/rentstock])
      ==================== VERSION 3 . 0 . 0 ===============================================
     = acum in /stats nu iti mai apare cont VIP si Ultra Premium 
    =============== DATABASE ============================================================
    - eliminate unele chestii ce nu au legatura cu gamemode-ul (`USERS`)
    - casele, bussines-urile vandute la stat cu mesajul For Auctions
    - baza de date a fost golita (clear)
    - redenumita factiunea paramedics and firemans  cu Paramedics

    ============ OTHER ==================================================================
    Project copy: Crowland
    Started from: burned ( credits to Edison )
    Editor: Mihai
    Images: imgur.com/a/4iWhzbP 
    =========== ce e de facut? =========================================================
    - job delivery
    - job farmer SF 
    - Dealership in SF 
    - de adaugat cele 3 factiuni noi
    - de refacut gps-ul 
    - fisherman asemanator crowland 
    - drugs dealer asemanator crowland
    // DATABASE//
    = rescris tabelele din baza de date din `users` la pet
    = de scos bussiness 21 ( Race Arena)
    = de scos biz 15 si 16 ( Fostul rentCar si RentBike)
    #endif

    Cateva poze: https://imgur.com/a/kGstng4 (sunt mai vechi)

    Download: https://www23.zippyshare.com/v/qdeuymUV/file.html

    Include uri: https://www23.zippyshare.com/v/rIxWhmpv/file.html

    Virus total: https://www.virustotal.com/gui/url/7ac12b6babdd9b9f363abefb8c6ffeabd528fbca6c4b0aa1f6031787b36a5eff/detection

    ( are multe keyloggere =))) trojani etc) Glumeam, va garantez ca nu are nimic.

    Ce sa zic, asta e gm-ul.Aveti ceva de rezolvat pe la baza de date cu sistemul de pet, sistemul de Iphone si altele nu va mai dau alte idei.

    frumos cat de cat +1 dela mine

    e bun de lucrat la el am mai adaugat eu la el niste comenzi ascunse si comanda /bonus plus 2 factiuni noi daca e osa postezu un edit

     

  5. On 1/10/2020 at 9:33 PM, MihaiT11 said:

    Salut.Astazi voi posta primul gamemode edit burned.Acesta consta in copia server-ului Crowland.Eu am o versiune mult mai optimizata + toate sistemele dupa crowland.

    Va voi oferii o versiune de start sa zic asa.Nu l-as recomanda daca ati vrea sa faceti ceva unic.

    Eu sincer nu mi as deschide server.In fine.

    Lista Update uri: (pana la 3.0.0) restul nu va dau

    #if defined crowland
    ==================== VERSION 1 . 0 .0================================================
     = scoasa protectia pentru admini
     = scoasa race arena
     = scos giftbox-ul 
     = scos questul special
     = scoasa bara cu informatii la conectarea pe server
     = scoasa primaria
     = scoasa biserica 
     = scos sistemul de casatorie si divort
     = scoase eventele CS ( cs arena), zombie lcs, lms, stunt
    ==================== VERSION 1 . 5 . 0 ===============================================
     = acum nu mai apare la login cand te ai conectat ultima oara, doar pentru admini
     = scos sistemul de realizari
     = tutorial asemanator crowland
     = logo asemanator crowland
     = server mode ca pe crowland (CROWLAND x/xx/xxxx)
     = rezolvat bugul la NRG-500 (nu scadea fuel, ramanea blocat la 100% fuel)
     = procesorul de comenzi trecut de la ZCMD la YCMD 
     = comenzi prescurtate adaugate tot pe YCMD
     = scos actorul de la comanda /tutorial
     ==================== VERSION 2 . 0 . 0 ===============================================
     = adaugat un stock cu SCMEx ( un inlocuitor pentru format(string, sizeof(string), ""); sa nu mai faci alt string)
     = comanda [/stats] asemanatoare crowland 
     = scoasa misiunea zilnica castiga o cursa la Race Arena 
     = misiunile zilnice dezactivate temporar
     = tutorial asemanator crowland 
     = shop asemanator crowland
     = daca ai cont Ultra Premium, la relog dupa cumparare apare deasupra capului [ULTRA USER]
     = daca ai cont Ultra Premium nu mai ai acces la comanda /flip si /nos 
     = rezolvat un bug ( nu primeai hotring-ul din shop decat in baza de date dar pe server nu)
     = scos din mesaje random pe server mesajul cu arena de curse si arena Counter Strike 
     = acum poti intra la paintball, deoarece comanda nu exista era afisat doar un mesaj (momentan dezactivata)
     ==================== VERSION 2 . 5 . 0 ===============================================
     = scos pickup-ul si text-ul de la city Hall + nu mai poti intra la primarie
     = adaugat sistem de pet asemanator crowland (fara pet skins) ce il primesti automat la level 2.
     = pet-ul se salveaza in baza de date (nume, status, level, points)
     = scos bizz-ul cs arena
     = rezolvat un bug la spawn (cateodata te spawna cu 0 HP si te spawnai din nou)
     = nu mai poti adauga muzica pe plaja 
     = scos bizz ul cu id 17 (Era Arena Counter Strike)
     = scoasa mapa dupa plaja cea cu summer quest burned
     = acum la jobul farmer ls trebuie sa mergi cu tractorul 40 de secunde pt a primii faina
     = scoasa factiunea firemans (facea parte din factiunea paramedics acum este doar Paramedics)
     = scos sistemul de incendii
     = panel si forum trecut pe define 
     = spawn asemanator crowland (langa LSPD)
     = comanda [/givepp] dezactivata temporar
     = scos sistemul de mine sweeper
     = scos systemul de Walk Style
     = Rent Car scos 
     = Adaugat rentcar asemanator crowland (adaugi stock la rentcar folosind comanda [/rentstock])
      ==================== VERSION 3 . 0 . 0 ===============================================
     = acum in /stats nu iti mai apare cont VIP si Ultra Premium 
    =============== DATABASE ============================================================
    - eliminate unele chestii ce nu au legatura cu gamemode-ul (`USERS`)
    - casele, bussines-urile vandute la stat cu mesajul For Auctions
    - baza de date a fost golita (clear)
    - redenumita factiunea paramedics and firemans  cu Paramedics

    ============ OTHER ==================================================================
    Project copy: Crowland
    Started from: burned ( credits to Edison )
    Editor: Mihai
    Images: imgur.com/a/4iWhzbP 
    =========== ce e de facut? =========================================================
    - job delivery
    - job farmer SF 
    - Dealership in SF 
    - de adaugat cele 3 factiuni noi
    - de refacut gps-ul 
    - fisherman asemanator crowland 
    - drugs dealer asemanator crowland
    // DATABASE//
    = rescris tabelele din baza de date din `users` la pet
    = de scos bussiness 21 ( Race Arena)
    = de scos biz 15 si 16 ( Fostul rentCar si RentBike)
    #endif

    Cateva poze: https://imgur.com/a/kGstng4 (sunt mai vechi)

    Download: https://www23.zippyshare.com/v/qdeuymUV/file.html

    Include uri: https://www23.zippyshare.com/v/rIxWhmpv/file.html

    Virus total: https://www.virustotal.com/gui/url/7ac12b6babdd9b9f363abefb8c6ffeabd528fbca6c4b0aa1f6031787b36a5eff/detection

    ( are multe keyloggere =))) trojani etc) Glumeam, va garantez ca nu are nimic.

    Ce sa zic, asta e gm-ul.Aveti ceva de rezolvat pe la baza de date cu sistemul de pet, sistemul de Iphone si altele nu va mai dau alte idei.

    il testez il editez si revin cu niste idei si o nota pentru gm

  6. 4 minutes ago, Serban said:

    @silviuYT2006

    Daca ar fi dupa mine ar fi asa(nu stiu daca are erori e doar un exemplu):

    CMD:bonus(playerid, params[])
    {
        if(PlayerInfo[playerid][pLevel] > 1) return SendClientMessage(playerid, -1, "eroare ai peste level 1");

        new randmoney = 500+ random(10000);
        PlayerInfo[playerid][pMoney] = randmoney;
        ResetPlayerMoney(playerid), GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
        PlayerInfo[playerid][pLevel] = 3, SetPlayerScore(playerid, 3);
        PlayerInfo[playerid][pPremiumPoints] = 100;
        format(string, sizeof string, "Server: Ai primit %d bani, nivel 3 si 100 de premium points ca bonus", randmoney);
        SendClientMessage(playerid, -1, string);
        mysql_format(SQL, query, sizeof query, "update conturi set money = '%d', level = '%d', premiumpoints = '%d' where name = '%s'", PlayerInfo[playerid][pMoney],        PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pPremiumpoints], GetName(playerid));
        mysql_tquery(SQL, query);
        return true;
    }
     

    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33194) : warning 202: number of arguments does not match definition
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33199) : error 017: undefined symbol "pMoney"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33199) : warning 215: expression has no effect
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33200) : error 017: undefined symbol "pMoney"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33203) : error 017: undefined symbol "string"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33203) : error 017: undefined symbol "string"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33204) : error 017: undefined symbol "string"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33205) : error 017: undefined symbol "query"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33205) : error 017: undefined symbol "query"
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33206) : error 017: undefined symbol "query"
    Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


    8 Errors.
    [Finished in 24.4s with exit code 1]
    [cmd: ['pawncc.exe', '-i includes', 'D:\\Users\\silviu\\Desktop\\Chars Gamemode\\gamemodes\\Chars.pwn', '-;+', '-Z+', '-r', '-d3']]
    [dir: D:\Users\silviu\Desktop\Chars Gamemode\gamemodes]
    [path: D:\Program Files\Common Files\Microsoft Shared\Windows Live;D:\Program Files\Common Files\Oracle\Java\javapath;D:\Program Files\NVIDIA Corporation\PhysX\Common;D:\Windows\system32;D:\Windows;D:\Windows\System32\Wbem;D:\Windows\System32\WindowsPowerShell\v1.0\;D:\Windows\system32;D:\Program Files\Common Files\Microsoft Shared\Windows Live

     

    nu merge

  7. 1 minute ago, Serban said:

    @silviuYT2006

    Daca ar fi dupa mine ar fi asa(nu stiu daca are erori e doar un exemplu):

    CMD:bonus(playerid, params[])
    {
        if(PlayerInfo[playerid][pLevel] > 1) return SendClientMessage(playerid, -1, "eroare ai peste level 1");

        new randmoney = 500+ random(10000);
        PlayerInfo[playerid][pMoney] = randmoney;
        ResetPlayerMoney(playerid), GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
        PlayerInfo[playerid][pLevel] = 3, SetPlayerScore(playerid, 3);
        PlayerInfo[playerid][pPremiumPoints] = 100;
        format(string, sizeof string, "Server: Ai primit %d bani, nivel 3 si 100 de premium points ca bonus", randmoney);
        SendClientMessage(playerid, -1, string);
        mysql_format(SQL, query, sizeof query, "update conturi set money = '%d', level = '%d', premiumpoints = '%d' where name = '%s'", PlayerInfo[playerid][pMoney],        PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pPremiumpoints], GetName(playerid));
        mysql_tquery(SQL, query);
        return true;
    }
     

    il bag in gamemode il testez si revin

  8. 5 minutes ago, Serban said:

    @silviuYT2006 

    1.ce functie ai aplicat? GivePlayerMoney sau GivePlayerCash?

    2.Cum ai enumul? PlayerInfo[playerid][pMoney] sau altceva?

    3.Ai facut salvarea in baza de date?

    asa e bun?

    YCMD:bonus(playerid, params[])
    {
        if(IsPlayerConnected(playerid))
        {
                if(PlayerInfo[playerid][pLevel] <= 1)
                {
                PlayerInfo[playerid][pLevel] = 5;
                PlayerInfo[playerid][pPremiumPoints] = 100;
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCarLicT] = 5;               
                PlayerInfo[playerid][pFlyLic] = 1;
                PlayerInfo[playerid][pFlyLicT] = 5;
                PlayerInfo[playerid][pBoatLic] = 1;
                PlayerInfo[playerid][pBoatLicT] = 5;
                PlayerInfo[playerid][pGunLic] = 1;
                PlayerInfo[playerid][pGunLicT] = 5;
                PlayerInfo[playerid][pMoney] = 50000000
                SetPlayerScore(playerid, 5);
                Update(playerid, pCashx);
                UpdateProgress(playerid, 0);
                 Update(playerid, pLevelx);
                Update(playerid, pPremiumPointsx);
                Update(playerid,pConnectTimex);
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit $50,000,000!");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit toate licentele timp de 5 ore [/licenses]");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit 100 Premium Points - Acum poti da /shop");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit Level 5");
                
            }
            else return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu poti folosi aceasta comanda daca ai level 5+ !");
        }
        return 1;
    }

  9. 9 minutes ago, Serban said:

    Este ok doar ca:

    1.poti sa nu m-ai folosesti OnPlayerUpdate pentru ca sincer mi se pare inutil si sa folosesti direct acolo in comanda(poti sa folosesti si un stock).

    2.In functia de GivePlayerMoney poti sa-i setezi banii adaugand la PlayerInfo[playerid][pMoney], la fel ca si la nivel.

    3.De ce folosesti IsPlayerConnected? poti folosii un bool de gPlayerLogged daca ai un tutorial pe server.

    4.De ce folosesti mai multe functii pentru sendclient? poti sa folosesti odata sau de 2ori nu-i nevoie de 3000 de linii dar infine.

    5.Aranjeaza putin codul ala ca arata oribil parerea mea.

    Bonus - 6. Poti sa adaugi si o variabila new randomlucru = 5+ random(20); daca vrei sa primesti o suma de bani random si nu fixa..

    Multumesc de raspuns dar am alta problema orce comanda /bonus fac numi da bani dc?

  10. On 1/29/2018 at 12:55 PM, [D]aNyel[Regele] said:

    Comanda [/Bonus] simpla, cand folosesti comanda /bonus iti  da toate licentele timp de 5 ore.

     

     CMD:bonus(playerid, params[])
    {
        if(IsPlayerConnected(playerid))
        {
                if(PlayerInfo[playerid][pLevel] <= 1)
                {
                GivePlayerCash(playerid,  50000000);
                PlayerInfo[playerid][pLevel] = 5;
                PlayerInfo[playerid][pPremiumPoints] = 100;
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCarLicT] = 5;               
                PlayerInfo[playerid][pFlyLic] = 1;
                PlayerInfo[playerid][pFlyLicT] = 5;
                PlayerInfo[playerid][pBoatLic] = 1;
                PlayerInfo[playerid][pBoatLicT] = 5;
                PlayerInfo[playerid][pGunLic] = 1;
                PlayerInfo[playerid][pGunLicT] = 5;
                SetPlayerScore(playerid, 5);
                Update(playerid, pCashx);
                UpdateProgress(playerid, 0);
                 Update(playerid, pLevelx);
                Update(playerid, pPremiumPointsx);
                Update(playerid,pConnectTimex);
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit $50,000,000 - Acum poti sa iti iei masina!");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit toate licentele timp de 5 ore [/licenses]");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit 100 Premium Points - Acum poti da /shop");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Ai primit Level 5"); 
                
            }
            else return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu poti folosi aceasta comanda daca ai level 5+ !");
        }
        return 1;
    }

     

     

    misto +1 dela mine dar am o intrebare ce pot sa fac la erroarea asta

    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33194) : warning 202: number of arguments does not match definition
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33200) : warning 202: number of arguments does not match definition
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33213) : warning 202: number of arguments does not match definition
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33214) : warning 217: loose indentation
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33215) : warning 217: loose indentation
    D:\Users\silviu\Desktop\Chars Gamemode\gamemodes\Chars.pwn(33223) : warning 217: loose indentation
    Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

    Header size:          45700 bytes
    Code size:          4065012 bytes
    Data size:         43014596 bytes
    Stack/heap size:     262144 bytes; estimated max. usage=12650 cells (50600 bytes)
    Total requirements:47387452 bytes

    6 Warnings.
    [Finished in 26.1s]

  11. On 11/29/2018 at 5:42 PM, AlexRap said:

    daca va apare unknown la mode pe host descarcati asta: https://www47.zippyshare.com/v/0gK35Zb4/file.html o puneti in folderu plugins

    in server.cfg treceti mysql_static.so in loc de mysql.so si o sa va mearga,  @EliXe @anonim23 aveti tutoriale pe net cum sa faci un sv pe localhost @Dani niculescu la fel am zis mai sus de ce iti apare unknown @Ap9llo ms pwp ❤️ pm me

    mane e expirat linku ca si mia imi face lafel😡

  12. D:\Users\silviu\Desktop\for sa-mp.ro\pawno\include\ZCMD.inc(18) : warning 201: redefinition of constant/macro (symbol "COMMAND:%1(%2)")
    D:\Users\silviu\Desktop\for sa-mp.ro\pawno\include\ZCMD.inc(21) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")
    Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

    Header size:          46204 bytes
    Code size:          4206524 bytes
    Data size:         35839732 bytes
    Stack/heap size:     262144 bytes; estimated max. usage=12650 cells (50600 bytes)
    Total requirements:40354604 bytes

    2 Warnings.

     

  13. D:\Users\silviu\Desktop\for sa-mp.ro\gamemodes\rpg1_bhood.pwn(34039) : warning 202: number of arguments does not match definition
    D:\Users\silviu\Desktop\for sa-mp.ro\gamemodes\rpg1_bhood.pwn(34041) : error 017: undefined symbol "gPlayerLogged"
    D:\Users\silviu\Desktop\for sa-mp.ro\gamemodes\rpg1_bhood.pwn(34041) : warning 215: expression has no effect
    D:\Users\silviu\Desktop\for sa-mp.ro\gamemodes\rpg1_bhood.pwn(34041) : error 001: expected token: ";", but found "]"
    D:\Users\silviu\Desktop\for sa-mp.ro\gamemodes\rpg1_bhood.pwn(34041) : error 029: invalid expression, assumed zero
    D:\Users\silviu\Desktop\for sa-mp.ro\gamemodes\rpg1_bhood.pwn(34041) : fatal error 107: too many error messages on one line

    Compilation aborted.

    Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.
     

    a

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.