Jump to content
  • 0

drift bonus


Guest mihai97

Question

Guest mihai97

Am gasit pe sa-mp.com un FS care iti da bonus cand faci drift.Totul bine nu are erori da cand intru pe sv nu mere...

[attachment deleted by admin]

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

L-ai pus in folderul "filterscript" si ai scris in server.cfg la linia "filterscript" numele fisierului .amx fara exstensia .amx ?

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

inseamna k nu l ai inclus bine in GMul tau, trebuie sa pui ce e sub fiecare callback in FS, sa pui in GM, de genul OnFilterScriptInit, copiezi tot ce e intre { } de la el, pui la OnGameModeInit...

mai bine foloseste-l ca FS si gata.

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Wreeper
      Salutare! Cumva cauti un server de SA:MP abia deschis pe care sa te joci cu prietenii tai?
      CAUTAREA TA A LUAT SFARSIT! ITI PREZINT: GAME-TIME ROMANIA!
      Sisteme UNICE. CAUTAM STAFF CAPABIL! Aplicatiile SE FAC PE SERVERUL DE DISCORD
      DNS: rpg.game-time.ro:7777
      IP: 51.89.23.192:7777
      PANEL: https://panel.game-time.ro/
      DISCORD: https://game-time.ro/discord/
       
      Primii 30 jucatori ce intra pe server PRIMESC MASINA DE TIP PATRIOT GRATUIT! Orice jucator ce intra primeste BONUS LEVEL 10 SI 50KK!
    • By BaDB0y95
      Am si eu o problema la comanda /bonus dupa ce tastez primesc level si diamantele si bani mi pune si ii retrage inapoi adica bani nu se salveaza
       
      CMD:bonus(playerid, params[])
      {
          if(IsPlayerConnected(playerid))
           {
              if(pInfo[playerid][pScore] <= 2)
                {
                  GivePlayerMoney(playerid, 15000000);
                    pInfo[playerid][pScore] = 3;
                  pInfo[playerid][pDiamonds] = 50;
                     SetPlayerScore(playerid, pInfo[playerid][pScore]);
                   SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai primit 15.000.000$, level 3 si 50 diamante de bun venit!");
              }
              else return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu poti folosi aceasta comanda daca ai level 3+ !");
          }
          return 1;
      }
    • By [D]aNyel[Regele]
      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;
      }
       
       
    • By Tudor...
      salut, voi lasa aici comanda "/bonus"
      succes cu ea! trebuie sa aveti ZCMD
       
      MD:bonus(playerid, params[])
      {
          if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
          if(IsPlayerConnected(playerid))
           {
              if(PlayerInfo[playerid][pLevel] <= 2)
                {
                  GivePlayerCash(playerid, 25000000);
                    PlayerInfo[playerid][pLevel] = 3;
                  PlayerInfo[playerid][pPremiumPoints] = 110;
                     Update(playerid, pLevelx);
                    Update(playerid, pCashx);
                  Update(playerid, pPremiumPointsx);
                     SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
                   SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai primit 25.000.000$, level 3 si 110 puncte premium de bun venit!");
              }
              else return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu poti folosi aceasta comanda daca ai level 3+ !");
          }
          return 1;
      }
    • By SkyHD
      Cand am facut comanda /bonus imi apare asa:/
      C:\Users\SkyHD\Desktop\SAMP SERVER\gamemodes\zoneplg.pwn(337) : warning 203: symbol is never used: "bonus"
      Va rog ajutati-ma dau +1.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.