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 gamemode, abaixo 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;