[Ajuda] Colocando o gamemode para funcionar?
#1

E aн, entгo, hoje quero resolver esse problema, estou com a gamemode aqui e a mesma estб parecendo muito complexa, pois sу baixei o pwn e nгo tenho tudo que ela precisa, entгo pensei em ajuda, comecei do zero, e como por conhecidencia, os erros comeзou pelas primeiras linhas, inlude, eu nгo estou em contrando a include?

Код:
#include <filesystem>
Quote:

C:\Users\User\Desktop\gamemode\gamemodes\gamemode. pwn(13) : fatal error 100: cannot read from file: "filesystem"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply
#2

A include nгo ta na pasta pawno\include

verifique e veja se estб lб que o erro some.
Reply
#3

Quote:
Originally Posted by Eddye
Посмотреть сообщение
A include nгo ta na pasta pawno\include

verifique e veja se estб lб que o erro some.
Certo, estava, abri o pawn aplicativo errado. +Rep

Acabei de resolver um problema e apareceu isso, tem problema demais, se й loco, mais esse ae pode ser o que? DOF2 desatualizada? Obs: Pode perceber que as gamemodes, calbacks estгo separadas da gamemode raiz.

Код:
../gamemodes/OnConnect.pwn(342) : error 017: undefined symbol "DOF2_FileExists"
../gamemodes/OnConnect.pwn(347) : error 017: undefined symbol "DOF2_FileExists"
../gamemodes/OnConnect.pwn(349) : error 017: undefined symbol "DOF2_GetInt"
../gamemodes/OnConnect.pwn(352) : error 017: undefined symbol "DOF2_GetInt"
../gamemodes/OnConnect.pwn(354) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(355) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(356) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(357) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(358) : error 017: undefined symbol "DOF2_WriteFile"
../gamemodes/OnConnect.pwn(359) : error 017: undefined symbol "DOF2_GetString"
../gamemodes/OnConnect.pwn(366) : error 017: undefined symbol "DOF2_GetInt"
../gamemodes/OnConnect.pwn(368) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(369) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(370) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(371) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(372) : error 017: undefined symbol "DOF2_WriteFile"
../gamemodes/OnConnect.pwn(373) : error 017: undefined symbol "DOF2_GetString"
../gamemodes/OnConnect.pwn(380) : error 017: undefined symbol "DOF2_GetInt"
../gamemodes/OnConnect.pwn(382) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(383) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(384) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(385) : error 017: undefined symbol "DOF2_SetInt"
../gamemodes/OnConnect.pwn(386) : error 017: undefined symbol "DOF2_WriteFile"
../gamemodes/OnConnect.pwn(387) : error 017: undefined symbol "DOF2_GetString"
../gamemodes/OnConnect.pwn(398) : error 017: undefined symbol "DOF2_GetInt"
../gamemodes/OnConnect.pwn(413) : error 017: undefined symbol "DOF2_GetInt"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#4

No topo do gamemode, abaixo de #include <a_samp>
PHP код:
#include <DOF2> 
Reply
#5

Conforme vocк for adicionando as includes no pawno, vocк tem que defini-las no topo do GM como o amigo Glederson_dom citou em cima ^^

feito isso vocк resolverб grande parte de seus problemas.
Reply
#6

PHP код:
[QUOTE]<div style="margin:20px; margin-top:5px; ">
    <
div class="smallfont" style="margin-bottom:2px">Цитата:</div>
    <
table cellpadding="6" cellspacing="0" border="0" width="100%">
    <
tr>
        <
td class="alt2" style="border: 1px solid #C2C2C2; font-size: 8pt;">
            
                <
div>
                    
Сообщение от <strong>Glederson_dom</strong>
                    <
a href="showthread.php?p=3796286#post3796286" rel="nofollow"><img class="inlineimg" src="images/buttons/viewpost.gif" border="0" alt="Посмотреть сообщение" /></a>
                </
div>
                <
div style="font-style:italic">No topo do gamemodeabaixo de #include <a_samp></div>
            
        
</td>
    </
tr>
    </
table>
</
div>#include <DOF2> 
[/QUOTE]

Certo, era isso. +rep


Quote:
Originally Posted by Eddye
Посмотреть сообщение
Conforme vocк for adicionando as includes no pawno, vocк tem que defini-las no topo do GM como o amigo Glederson_dom citou em cima ^^

feito isso vocк resolverб grande parte de seus problemas.
Verdade, acredito que seja isso, mais entгo, agora apareceu esse erro, provavelmente preciso de qual include, agora sei que precisa da include.

Includes:
Код:
#include <a_samp>
#include <DOF2>
#include <dns>
#include <filesystem>
#include <Foreach>
#include <sscanf2>
#include <streamer>
#include <zcmd>
Quote:

AttachDynamicObjectToVehicle
EditDynamicObject
OnPlayerEditDynamicObject

Код:
../gamemodes/OnCommand.pwn(2611) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(2663) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(2730) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(2834) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(3134) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(8385) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8390) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8395) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8400) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8405) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8410) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8434) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8439) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(8444) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
../gamemodes/OnCommand.pwn(10420) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10420) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10420) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10426) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10426) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10426) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10538) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10538) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10538) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10542) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10542) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10542) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10829) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10829) : warning 202: number of arguments does not match definition
../gamemodes/OnCommand.pwn(10829) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(4942) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(4942) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(4942) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(7240) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(7251) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(15447) : error 017: undefined symbol "EditDynamicObject"
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(15545) : error 017: undefined symbol "EditDynamicObject"
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(15845) : error 017: undefined symbol "EditDynamicObject"
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(15944) : error 017: undefined symbol "EditDynamicObject"
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(16083) : error 017: undefined symbol "EditDynamicObject"
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(16148) : error 017: undefined symbol "EditDynamicObject"
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19669) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditDynamicObject")
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19673) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19673) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19673) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19839) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19839) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Roleplay\gamemodes\gamemode.pwn(19839) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


15 Errors.
Primeira Linha, 4942:
Код:
case 1: MoveDynamicObject(pdgate,1588.50806, -1637.89600, 14.60000, 2.0, 0.00000, 359.75000, 1.00000), PlaySoundInArea(1153,1589.021851, -1638.083862, 13.877514,20.0), gatedelay[pdgate] = 2;
Reply
#7

Ae pessoal, agora estб dando dando o erro:
Quote:

[18:38:46] [debug] Run time error 19: "File or function is not found"
[18:38:46] [debug] Streamer_CallbackHook
[18:38:46] [debug] AttachDynamicObjectToVehicle
[18:38:46] [debug] EditDynamicObject
[18:38:46] [debug] Run time error 19: "File or function is not found"
[18:38:46] [debug] Streamer_CallbackHook
[18:38:46] [debug] AttachDynamicObjectToVehicle
[18:38:46] [debug] EditDynamicObject
[18:38:46] Script[gamemodes/AD-RP.amx]: Run time error 19: "File or function is not found"
[18:38:46] Number of vehicle models: 0

Por que isso? nada a ver? Qual include й essa?? Dynamic?

Alguem tem a include filesystem?
Reply
#8

Utilize a include streamer.
Reply
#9

Oolha isso, agora o pawn compiler tб parando de funcionar por que? Estou confuso com isso tudo..

Minhas includes:
Quote:

#include <a_samp>
#include <DOF2>
#include <dns>
#include <filesystem>
#include <Foreach>
#include <sscanf2>
#include <streamer>
#include <zcmd>

Eu acho que o problema estб nas includes e principalmente nessa include filesystem, que nгo estou encontrando.
Reply
#10

Up! alguйm tem as includes?

Quote:

#include <a_samp>
#include <DOF2>
#include <dns>
#include <filesystem>
#include <Foreach>
#include <sscanf2>
#include <streamer>
#include <zcmd>

Jб atualizei a include streamer, nгo sei o que pode ser.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)