Jump to content
  • 0

Problema Gamemode Pornire


marius11

Question

Am gamemode-ul lui s4urik si cand pornesc imi da urmatoarele erori si nu stiu de ce ps am bagat din nou  sscanf in pawno include  si plugin streamer de pe internet

Spoiler

 

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

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

[08:01:16] filterscripts = ""  (string)
[08:01:16] 
[08:01:16] Server Plugins
[08:01:16] --------------
[08:01:16]  Loading plugin: mysql
[08:01:16]  >> plugin.mysql: R39-2 successfully loaded.
[08:01:16]   Loaded.
[08:01:16]  Loading plugin: mysql_static
[08:01:16]   Failed.
[08:01:16]  Loading plugin: nativechecker
[08:01:16]   Loaded.
[08:01:16]  Loading plugin: sscanf
[08:01:16] 

[08:01:16]  ===============================

[08:01:16]       sscanf plugin loaded.     

[08:01:16]    (c) 2009 Alex "Y_Less" Cole

[08:01:16]    0.3d-R2 500 Players "dnee"

[08:01:16]  ===============================

[08:01:16]   Loaded.
[08:01:16]  Loading plugin: streamer
[08:01:16]   Failed.
[08:01:16]  Loading plugin: Whirlpool
[08:01:16]   Failed.
[08:01:16]  Loading plugin: irc
[08:01:16]   Failed.
[08:01:16]  Loading plugin: mysql_5.5
[08:01:16]   Failed.
[08:01:16]  Loading plugin: GeoIP_Plugin
[08:01:16] GeoIP_Plugin got loaded.
[08:01:16]   Loaded.
[08:01:16]  Loaded 4 plugins.

[08:01:16] 
[08:01:16] Filterscripts
[08:01:16] ---------------
[08:01:16]   Loaded 0 filterscripts.

[08:01:16]    Error: Function not registered: 'SSCANF_Init'
[08:01:16]    Error: Function not registered: 'SSCANF_Join'
[08:01:16]    Error: Function not registered: 'SSCANF_Leave'
[08:01:16]    Error: Function not registered: 'CreateDynamicRectangle'
[08:01:16]    Error: Function not registered: 'GetCountryName'
[08:01:16]    Error: Function not registered: 'CreateDynamicObject'
[08:01:16]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[08:01:16]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[08:01:16]    Error: Function not registered: 'CreateDynamicPickup'
[08:01:16]    Error: Function not registered: 'sscanf'
[08:01:16]    Error: Function not registered: 'MoveDynamicObject'
[08:01:16]    Error: Function not registered: 'IsValidDynamicObject'
[08:01:16]    Error: Function not registered: 'SetDynamicObjectPos'
[08:01:16]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[08:01:16]    Error: Function not registered: 'DestroyDynamicObject'
[08:01:16]    Error: Function not registered: 'SetDynamicObjectRot'
[08:01:16]    Error: Function not registered: 'DestroyDynamicPickup'
[08:01:16]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[08:01:16]    Error: Function not registered: 'CountDynamicObjects'
[08:01:16]    Error: Function not registered: 'CountDynamicPickups'
[08:01:16]    Error: Function not registered: 'CountDynamic3DTextLabels'
[08:01:16] Script[gamemodes/s4uriK.amx]: Run time error 19: "File or function is not found"
[08:01:16] Number of vehicle models: 0

 

Edited by marius11
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

incearca asa,

plugins  mysql sscanf streamer Whirlpool irc GeoIP_Plugin nativechecker

 

si verifica folderul plugins daca are acele nume de mai sus

 

  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
Acum 16 minute, Mister a spus:

incearca asa,

plugins  mysql sscanf streamer Whirlpool irc GeoIP_Plugin nativechecker

 

si verifica folderul plugins daca are acele nume de mai sus

 

Se pare ca pe linux merge dar pe windows nu stiu de ce ms de ajutor 

Edited by marius11
Link to comment
Share on other sites

  • 0
14 minutes ago, marius11 said:

Se pare ca pe linux merge dar pe windows nu stiu de ce ms de ajutor 

pe linux iti trebuie asa

plugins  mysql_static.so sscanf.so streamer.so Whirlpool.so irc.so GeoIP_Plugin.so nativechecker.so

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
Acum 18 minute, Mister a spus:

pe linux iti trebuie asa

plugins  mysql_static.so sscanf.so streamer.so Whirlpool.so irc.so GeoIP_Plugin.so nativechecker.so

ms esti bun , dar am intalnit o problema dupa tutorial nu primesc spawn acesta este ultimul mesaj din tutorial nu stiu unde trebuie sa pun

if(dialogid == 266)
    {
        if(!response) { TogglePlayerControllable(playerid, 1); RemovePlayerFromVehicle(playerid); }
        if(response)
        {

sa primeasca respawn dupa acel tutorial

 

Spoiler

case DIALOG_TUTORIAL_DOB:
            {
                if(isnull(inputtext))
                {
                    return ShowPlayerDialog(playerid, DIALOG_TUTORIAL_DOB, DIALOG_STYLE_INPUT, ""SERVER_NAME" {FFFFFF}Varsta", "Va rugam sa introduceti varsta dvs. in casuta:", "Proceed", "Cancel");
                }
                else
                {
                    new
                        Age = strval(inputtext);

                    if(Age >= 5 && Age < 100)
                    {
                        format(szMessage, sizeof(szMessage), "Inregistrare: {FFFFFF}Ai selectat varsta de: %d ani.", Age);
                        SendClientMessage(playerid, COLOR_YELLOW, szMessage);
                        playerVariables[playerid]


= Age;


                        new wakaname2[25];
                        GetPlayerName(playerid,wakaname2,25);
                        new str2[128];
                        format(str2,128,"UPDATE `playeraccounts` SET `playerAge1`='%d' WHERE `playerID`='%d'",playerVariables[playerid]

,playerVariables[playerid][pInternalID]);

                        mysql_tquery(handle,str2);
                        ShowPlayerDialog(playerid, 155, DIALOG_STYLE_MSGBOX, "Inregistrare: {FFFFFF}Final", "Multumim pentru ca ati introdus toate datele necesare\n\nAcum va va fi prezentat un scurt tutorial\nVa rugam sa fiti atent(a) deoarece aceste informatii va vor fi de folos!", "Tutorial", "");

                        }
                    else
                    {
                        SendClientMessage(playerid, COLOR_WHITE, "Error: {FFFFFF}Varsta trebuie sa fie cuprinsa intre 4 si 100 ani!");
                        return ShowPlayerDialog(playerid, DIALOG_TUTORIAL_DOB, DIALOG_STYLE_INPUT, "Pasul 3: {FFFFFF}Varsta", "Va rugam sa introduceti varsta dvs. in casuta:", "Proceed", "Cancel");
                    }
                }
            }
            case DIALOG_EMAIL:
            {
                new string[510];
                new length = strlen(inputtext);
                if(length > 30)
                {
                    SendClientMessage(playerid, COLOR_WHITE, "Please enter another e-mail (maximum 30 characters).");
                    ShowPlayerDialog(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, "Email", "Introduceti adresa dvs. de email:", "OK", "");
                    return 1;
                }
                if(IsMail(inputtext) && response && strlen(inputtext)<30)
                {
                    new Str[256],pname2[25];
                    GetPlayerName(playerid,pname2,25);
                    format(Str,256,"UPDATE `playeraccounts` SET `playerEmail`='%s' WHERE `playerID`='%d'",inputtext,playerVariables[playerid][pInternalID]);
                    mysql_tquery(handle,Str);
                    strmid(playerVariables[playerid][pEmail], inputtext, 0, strlen(inputtext), 64);
                    format(string, sizeof(string), "Inregistrare: {FFFFFF}Ai selectat adresa e-mail: %s", playerVariables[playerid][pEmail]);
                    SendClientMessage(playerid, COLOR_WHITE, string);
                    ShowPlayerDialog(playerid, DIALOG_GENDER_SELECTION, DIALOG_STYLE_LIST, "Inregistrare: {FFFFFF}Pasul 2", "Barbat\nFemeie", "Alege", "");
                    return 1;
                }
                else
                {
                    ShowPlayerDialog(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, "Email", "Introduceti adresa dvs. de email:", "OK", "");
                    return 1;
                }
            }

 

Edited by marius11
Link to comment
Share on other sites

  • 0

Si care e ultimul mesaj? ca tu mi-ai arata dialogul de varsta, nu de tutorial

incearca sa pui SpawnPlayer(playerid);  dupa ultimul mesaj

Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
Acum 17 minute, Mister a spus:

Si care e ultimul mesaj? ca tu mi-ai arata dialogul de varsta, nu de tutorial

incearca sa pui SpawnPlayer(playerid);  dupa ultimul mesaj

Asta este ultimul mesaj dupa ce dau "ok" ramane asa , el zice ca urmeaza un tutorial dar nu mai urmeaza am cautat in gm si nu exista tutorial, si dupa acest mesaj sa primeasca spawn

mysql_tquery(handle,str2);
                        ShowPlayerDialog(playerid, 155, DIALOG_STYLE_MSGBOX, "Inregistrare: {FFFFFF}Final", "Multumim pentru ca ati introdus toate datele necesare\n\nAcum va va fi prezentat un scurt tutorial\nVa rugam sa fiti atent(a) deoarece aceste informatii va vor fi de folos!", "Tutorial", "");

                        }

Link to comment
Share on other sites

  • 0

pai creaza la ondialogresponse, ceva de genul 

case  155:

{

SendClientMessage(playerid,-1,"Ai terminat tutorialul inexistent! spawned");

SpawnPlayer(playerid);

return 1;

}

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
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
Answer this question...

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

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