Jump to content

getpp


Waller.

Recommended Posts

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;
}

Link to comment
Share on other sites

----------
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

Edited by Waller669
Link to comment
Share on other sites

Just now, Waller669 said:

plugins crashdetect.so mysql.so mysql_static.so sscanf.so streamer.so Whirlpool.so TDE

pai si extensia de la TDE unde este? incearca sa scoti pluginul TDE si de ce folosesti de 2 ori mysql.so si mysql_static, vezi pe care din ele porneste pe mysql sau mysql static si scoate tot ce tine de tde

Link to comment
Share on other sites

Ia ultima versiune mscvr120.dll si pune-o in fisierul jocului. S-ar putea sa iti rezolve problema de la client.

Pentru server, in server log iti spune ce se intampla:

13:09:48]   Loading filterscript 'TDE.amx'...
[13:09:54] [debug] Run time error 19: "File or function is not found"

Verifica in folderul filterscripts de pe host(utilizand filezilla sau ce program folosesti pentru a urca fisierele pe host) daca exista fisierul TDE.amx.

O a doua problema:

[13:09:17]  Loading plugin: TDE
[13:09:17]   Failed (plugins/TDE: cannot open shared object file: No such file or directory)

Tu folosesti TDE editor pe host, hostul foloseste pluginuri cu extensia .so, nu dll. TDE are doar extensia .dll, astfel nu va fi recunoscut de catre host. Nu poti folosi TDE pe host, doar pe localhost. 

Edited by BaFFyJunior
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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