SA-MP Forums Archive
[Ajuda]Erro - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda]Erro (/showthread.php?tid=325983)



[Ajuda]Erro - IgorMendes - 15.03.2012

Pesso ajuda com esse erro.
pawn Код:
error 001: expected token: ";", but found "-identifier-"
Code:
pawn Код:
else if(OnDuty[playerid]==1)
                    {
                        if(PlayerInfo[playerid][pMember] == 3)
                        format(string, sizeof(string), "O oficial %s das Forзas Armadas devolveu sua farda e equipamentos.", sendername);
                        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
                        ApplyAnimation(playerid, "HEIST9","Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
                        SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк recebeu seus equipamentos Pessoais de Volta.");
                        SafeResetPlayerWeapons(playerid)
                        SetPlayerArmour(playerid, 0);
                        GivePlayerWeapon(playerid, 24, 300);
                        GivePlayerWeapon(playerid, 31, 400);
                        GivePlayerWeapon(playerid, 25, 60);
                        SetPlayerSkin(playerid, 121);
                        OnDuty[playerid] = 0;
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo estб no vestiбrio das Forзas Armadas!");
                    return 1;
                }
            }



Re: [Ajuda]Erro - zbt - 15.03.2012

bota ";" ali no final do SafeResetPlayerWeapons(playerid)


Re: [Ajuda]Erro - IgorMendes - 15.03.2012

Nossa, acho que estou cego.
+REP.


Re: [Ajuda]Erro - IgorMendes - 15.03.2012

Cara, para nгo abrir outro topico, pesso ajuda aqui mesmo.
pawn Код:
v0.3d, (C)2005-2011 SA-MP Team

[15:51:09]
[15:51:09] Server Plugins
[15:51:09] --------------
[15:51:09]  Loading plugin: streamer
[15:51:09]

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

[15:51:09]   Loaded.
[15:51:09]  Loaded 1 plugins.

[15:51:09]
[15:51:09] Filterscripts
[15:51:09] ---------------
[15:51:09]   Loading filterscript 'CarsMachine.amx'...
[15:51:09]   Loading filterscript 'TD.amx'...
[15:51:09]   Loaded 2 filterscripts.

[15:51:09] Script[gamemodes/New.amx]: Run time error 19: "File or function is not found"
[15:51:09] Number of vehicle models: 0
Isso acontece na leitura do GM, quando liga o server.


Re: [Ajuda]Erro - IgorMendes - 15.03.2012

Alguem? ou vou ter que abrir outro topico?


Re: [Ajuda]Erro - paulor - 15.03.2012

https://sampforum.blast.hk/showthread.php?tid=262796


Re: [Ajuda]Erro - IgorMendes - 15.03.2012

pawn Код:
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d, (C)2005-2011 SA-MP Team

[16:27:23]
[16:27:23] Server Plugins
[16:27:23] --------------
[16:27:23]  Loading plugin: streamer.dll
[16:27:23]

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

[16:27:23]   Loaded.
[16:27:23]  Loading plugin: crashdetect.dll
[16:27:23]   crashdetect v4.5 is OK.
[16:27:23]   Loaded.
[16:27:23]  Loaded 2 plugins.

[16:27:23]
[16:27:23] Filterscripts
[16:27:23] ---------------
[16:27:23]   Loading filterscript 'CarsMachine.amx'...
[16:27:23] [debug] Run time error 19: "File or function is not found"
[16:27:23] [debug]   The following natives are not registered:
[16:27:23] [debug]     sscanf
[16:27:23]   Loading filterscript 'TD.amx'...
[16:27:24]   Loaded 2 filterscripts.

[16:27:24] [debug] Run time error 19: "File or function is not found"
[16:27:24] [debug]   The following natives are not registered:
[16:27:24] [debug]     Streamer_CallbackHook
[16:27:24] [debug] Run time error 19: "File or function is not found"
[16:27:24] [debug]   The following natives are not registered:
[16:27:24] [debug]     Streamer_CallbackHook
[16:27:24] Script[gamemodes/BSF3.amx]: Run time error 19: "File or function is not found"
[16:27:24] Number of vehicle models: 0

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

SA-MP Dedicated Server
----------------------
v0.3d, (C)2005-2011 SA-MP Team

[16:27:51]
[16:27:51] Server Plugins
[16:27:51] --------------
[16:27:51]  Loading plugin: crashdetect
[16:27:51]   crashdetect v4.5 is OK.
[16:27:51]   Loaded.
[16:27:51]  Loaded 1 plugins.

[16:27:51]
[16:27:51] Filterscripts
[16:27:51] ---------------
[16:27:51]   Loading filterscript 'CarsMachine.amx'...
[16:27:51] [debug] Run time error 19: "File or function is not found"
[16:27:51] [debug]   The following natives are not registered:
[16:27:51] [debug]     sscanf
[16:27:51]   Loading filterscript 'TD.amx'...
[16:27:51]   Loaded 2 filterscripts.

[16:27:52] [debug] Run time error 19: "File or function is not found"
[16:27:52] [debug]   The following natives are not registered:
[16:27:52] [debug]     Streamer_CallbackHook
[16:27:52] [debug]     Streamer_VisibleItems
[16:27:52] [debug]     Streamer_TickRate
[16:27:52] [debug]     CreateDynamicObject
[16:27:52] [debug]     DestroyDynamicObject
[16:27:52] [debug]     MoveDynamicObject
[16:27:52] [debug] Run time error 19: "File or function is not found"
[16:27:52] [debug]   The following natives are not registered:
[16:27:52] [debug]     Streamer_CallbackHook
[16:27:52] [debug]     Streamer_VisibleItems
[16:27:52] [debug]     Streamer_TickRate
[16:27:52] [debug]     CreateDynamicObject
[16:27:52] [debug]     DestroyDynamicObject
[16:27:52] [debug]     MoveDynamicObject
[16:27:52] Script[gamemodes/New.amx]: Run time error 19: "File or function is not found"
[16:27:52] Number of vehicle models: 0
Olha como ficou agora '-'


Re: [Ajuda]Erro - Delete_ - 15.03.2012

Atualize sua sscanf


Re: [Ajuda]Erro - DarkScripter - 15.03.2012

Quote:
Originally Posted by delete
Посмотреть сообщение
Atualize sua sscanf
Nгo, ele tem que atulizar a include "Streamer".


Re: [Ajuda]Erro - IgorMendes - 15.03.2012

Onde posso acha-la?
Nгo й por preguiзa mas sim por nгo saber a versгo certa.