Jump to content

Waller.

Membru
  • Posts

    149
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Waller.

  1. ----------
    Loaded log file: "server_log.txt".
    ----------

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

    [13:09:17] 
    [13:09:17] Server Plugins
    [13:09:17] --------------
    [13:09:17]  Loading plugin: crashdetect.so
    [13:09:17]   CrashDetect v4.15.1 is OK.
    [13:09:17]   Loaded.
    [13:09:17]  Loading plugin: mysql.so
    [13:09:17]  >> plugin.mysql: R34 successfully loaded.
    [13:09:17]   Loaded.
    [13:09:17]  Loading plugin: mysql_static.so
    [13:09:17]  >> plugin.mysql: R39-6 successfully loaded.
    [13:09:17]   Loaded.
    [13:09:17]  Loading plugin: sscanf.so
    [13:09:17] 

    [13:09:17]  ===============================

    [13:09:17]       sscanf plugin loaded.     

    [13:09:17]          Version:  2.8.1        

    [13:09:17]    (c) 2012 Alex "Y_Less" Cole  

    [13:09:17]  ===============================

    [13:09:17]   Loaded.
    [13:09:17]  Loading plugin: streamer.so
    [13:09:17] 

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

    [13:09:17]   Loaded.
    [13:09:17]  Loading plugin: Whirlpool.so
    [13:09:17]  
    [13:09:17]  ==================
    [13:09:17]  
    [13:09:17]   Whirlpool loaded
    [13:09:17]  
    [13:09:17]  ==================
    [13:09:17]  
    [13:09:17]   Loaded.
    [13:09:17]  Loading plugin: TDE
    [13:09:17]   Failed (plugins/TDE: cannot open shared object file: No such file or directory)
    [13:09:17]  Loaded 6 plugins.

    [13:09:18] 
    [13:09:18] Ban list
    [13:09:18] --------
    [13:09:18]  Loaded: samp.ban
    [13:09:18] 
    [13:09:18] 
    [13:09:18] Filterscripts
    [13:09:18] ---------------
    [13:09:18]   Loading filterscript 'UltraHost.amx'...
    [13:09:27]   Loading filterscript 'lsbrothel.amx'...
    [13:09:36] 
    ----------------------------------------------------
    [13:09:36]  FoxHound's Los Santos Brothel successfully loaded.
    [13:09:36]  ������ �������������� ������ RaffGames.moy.su 18+.
    [13:09:36] ----------------------------------------------------

    [13:09:36]   Loading filterscript 'mask.amx'...
    [13:09:48]   
    [13:09:48] ------------------------------------------
    [13:09:48]              Mask System loaded           
    [13:09:48]              Made by CosminAK47           
    [13:09:48] ------------------------------------------
    [13:09:48]   
    [13:09:48]   Loading filterscript 'TDE.amx'...
    [13:09:54] [debug] Run time error 19: "File or function is not found"
    [13:09:54] [debug]  GetVirtualKeyState
    [13:09:54] [debug]  GetScreenSize
    [13:09:54] [debug]  GetMousePos
    [13:09:54] [debug]  PressKeyEnter
    [13:09:54] [debug]  GetKeyState
    [13:09:54]   Loaded 4 filterscripts.

    [13:10:12]  
    [13:10:12]  
    [13:10:12]  
    [13:10:12]  ======================================= 
    [13:10:12]  |                                     | 
    [13:10:12]  |        YSI version 3.09.0684        | 
    [13:10:12]  |        By Alex "Y_Less" Cole        | 
    [13:10:12]  |                                     | 
    [13:10:12]  ======================================= 
    [13:10:12]  
    [13:10:12] Server: hosted
    [13:10:12] Server vehicles: 163
    [13:10:12] Safezones: 0
    [13:10:12] Houses: 86
    [13:10:12] Clans: 2
    [13:10:12] Clan zones: 20
    [13:10:12] Bussines: 29
    [13:10:12] Turfs: 35
    [13:10:12] Factions: 13
    [13:10:13] Jobs: 13
    [13:10:13] Furnitures: 0
    [13:10:13] Stuff Loaded
    [13:10:13] Safes: 13
    [13:10:13] [debug] Run time error 19: "File or function is not found"
    [13:10:13] [debug]  GetVirtualKeyState
    [13:10:13] [debug]  GetScreenSize
    [13:10:13] [debug]  GetMousePos
    [13:10:13] [debug]  PressKeyEnter
    [13:10:13] [debug]  GetKeyState
    [13:10:13] Number of vehicle models: 61
    [13:10:13] [MySQL] Dealership models: 95
    [13:14:47] [connection] incoming connection: 82.78.61.112:56342 id: 0
    [13:14:47] [join] Waller has joined the server ( cvd 0:)
    [13:14:47] [debug] Run time error 19: "File or function is not found"
    [13:14:47] [debug]  GetVirtualKeyState
    [13:14:47] [debug]  GetScreenSize
    [13:14:47] [debug]  GetMousePos
    [13:14:47] [debug]  PressKeyEnter
    [13:14:47] [debug]  GetKeyState
    [13:14:52] Waller has logged in with IP 82.78.61.112.
    [13:14:54] [death] Waller died 255
    [13:14:55] [debug] Run time error 19: "File or function is not found"
    [13:14:55] [debug]  GetVirtualKeyState
    [13:14:55] [debug]  GetScreenSize
    [13:14:55] [debug]  GetMousePos
    [13:14:55] [debug]  PressKeyEnter
    [13:14:55] [debug]  GetKeyState
    [13:14:56] [debug] Run time error 19: "File or function is not found"
    [13:14:56] [debug]  GetVirtualKeyState
    [13:14:56] [debug]  GetScreenSize
    [13:14:56] [debug]  GetMousePos
    [13:14:56] [debug]  PressKeyEnter
    [13:14:56] [debug]  GetKeyState
    [13:15:14] [debug] Run time error 19: "File or function is not found"
    [13:15:14] [debug]  GetVirtualKeyState
    [13:15:14] [debug]  GetScreenSize
    [13:15:14] [debug]  GetMousePos
    [13:15:14] [debug]  PressKeyEnter
    [13:15:14] [debug]  GetKeyState
    [13:22:03] [debug] Run time error 19: "File or function is not found"
    [13:22:03] [debug]  GetVirtualKeyState
    [13:22:03] [debug]  GetScreenSize
    [13:22:03] [debug]  GetMousePos
    [13:22:03] [debug]  PressKeyEnter
    [13:22:03] [debug]  GetKeyState
    [13:22:04] [debug] Run time error 19: "File or function is not found"
    [13:22:04] [debug]  GetVirtualKeyState
    [13:22:04] [debug]  GetScreenSize
    [13:22:04] [debug]  GetMousePos
    [13:22:04] [debug]  PressKeyEnter
    [13:22:04] [debug]  GetKeyState
    [13:22:04] AdmCmd: Waller s-a teleportat la biz 4.
    [13:23:07] [debug] Run time error 19: "File or function is not found"
    [13:23:07] [debug]  GetVirtualKeyState
    [13:23:07] [debug]  GetScreenSize
    [13:23:07] [debug]  GetMousePos
    [13:23:07] [debug]  PressKeyEnter
    [13:23:07] [debug]  GetKeyState

  2. Salut, am facut comanda /getpp si /setppstock si cand dau /setstockpp pica sv aici jos aveti comenzile:

    /getpp

    CMD:getpp(playerid, params[]) {
     if(stockpp > 0)
        {
            if(afolositgetpp[playerid] == 0)
            {
                stockpp--;
          SendClientMessageToAll(COLOR_SERVER, "SERVER BONUS: {FFFFFF}%s a primit %d Premium Points, au mai ramas: %d [/getpp] in stoc.", GetName(playerid), sumapp, stockpp);
          PlayerInfo[playerid][pPremiumPoints] += sumapp;
                Update(playerid, pPremiumPointsx);
                afolositgetpp[playerid] = 1;
             }
             else
             {
                 SCM(playerid, COLOR_WHITE, "Ai folosit deja aceasta comanda!");
             }
        }
        else
        {
            SCM(playerid, COLOR_WHITE, "Nu mai sunt [/getpp] in stoc.");
        }
        return 1;
    }

     

     

    /setppstock

    CMD:setppstock(playerid, params[]) {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            new nrstock, nrpp;
            if(sscanf(params, "ii", nrstock, nrpp)) return SCM(playerid, COLOR_WHITE, "/setppstock [stock] [suma (pp)]");
            stockpp = nrstock;
            sumapp = nrpp;
            SendClientMessageToAll(COLOR_SERVER, "SERVER BONUS: {FFFFFF}%s a activat comanda [/getpp], stoc limitat: (%d).",GetName(playerid),nrstock);
            SendClientMessageToAll(COLOR_SERVER, "SERVER BONUS: {FFFFFF}Daca vei fi printre primi %d care vor tasta [/getpp] vei primi %d Premium Points.",nrstock,nrpp);
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    afolositgetpp = 0;
                }
            }
        }
        return 1;
    }

  3. asta ? 


             case DIALOG_RENT: {
            if(!response) return 1;
            SetPVarInt(playerid, "listitem", listitem);
            new string[64];
            format(string,sizeof(string),"Pentru cate minute vrei sa inchiriezi un vehicul?\nPret;$%d/minut",RENT_PRICE);
            ShowPlayerDialog(playerid, DIALOG_RENT+1, DIALOG_STYLE_INPUT, "Rent Car", string, "Select", "Cancel");
        }

        case DIALOG_RENT+1:{
        if(!response) return 1;
        listitem = GetPVarInt(playerid, "listitem");
            new minutes  = strval(inputtext),string[128],carid;
        if(minutes < 1 || minutes > 30) return SCM(playerid,-1,"Poti inchiria un vehicul intre 1 si 30 de minute");
        if(GetPlayerMoney(playerid) < minutes  * RENT_PRICE) return SCM(playerid,-1,"Nu detii suma necesara de bani");
            GivePlayerCash(playerid,- minutes*RENT_PRICE);
                    Update(pCashx);
           switch(listitem){
                  case 0:{
                      format(string,sizeof(string),"Ai inchiriat un infernus pentru %d minute si ai platit $%d",minutes,minutes*RENT_PRICE);
                      RentVehicle[playerid] = CreateVehicle(411, 542.3743,-1282.0509,17.2422, 90, -1, -1,300);


                  }

                  case 1:{
                      format(string,sizeof(string),"Ai inchiriat un sultan pentru %d minute si ai platit $%d",minutes,minutes*RENT_PRICE);
                      RentVehicle[playerid] = CreateVehicle(560, 542.3743,-1282.0509,17.2422, 90, -1, -1,300);


                  }

                     case 2:{
                      format(string,sizeof(string),"Ai inchiriat un cheetah pentru %d minute si ai platit $%d",minutes,minutes*RENT_PRICE);
                      RentVehicle[playerid] = CreateVehicle(415, 542.3743,-1282.0509,17.2422, 90, -1, -1,300);


                  }


                     case 3:{
                      format(string,sizeof(string),"Ai inchiriat un buffalo pentru %d minute si ai platit $%d",minutes,minutes*RENT_PRICE);
                      RentVehicle[playerid] = CreateVehicle(402, 542.3743,-1282.0509,17.2422, 90, -1, -1,300);


                  }

                        case 4:{
                      format(string,sizeof(string),"Ai inchiriat un banshee pentru %d minute si ai platit $%d",minutes,minutes*RENT_PRICE);
                      RentVehicle[playerid] = CreateVehicle(429, 542.3743,-1282.0509,17.2422, 90, -1, -1,300);


                  }

                                case 5:{
                      format(string,sizeof(string),"Ai inchiriat un voodo pentru %d minute si ai platit $%d",minutes,minutes*RENT_PRICE);
                      RentVehicle[playerid] = CreateVehicle(412, 542.3743,-1282.0509,17.2422, 90, -1, -1,300);

                  }

           }
           RentVehicle[playerid] = 1;
           PlayerTimer[playerid] = SetTimer("RentCar", 60000 * minutes, false,"%d",playerid);
           SCM(playerid, -1 ,string);
        }
     

  4. aici codul 

    CMD:rentcar(playerid,params[]){

        if(!PlayerToPoint(10.0, playerid,542.3743,-1282.0509,17.2422)) return 1;
                 if(RentVehicle[playerid] != 0) return SCM(playerid,-1,"Ai deja un vehicul inchiriat");

                 ShowPlayerDialog(playerid, DIALOG_RENT, DIALOG_STYLE_LIST, "Rent Car","Infernus\nSultan\nCheetah\nBuffalo\nBanshee\nVoodo" , "Select","Cancel");


    return 1;

    }

     

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