[Ajuda] Erro Objetos - 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 Objetos (
/showthread.php?tid=385423)
Erro Objetos -
Jack_Bawer - 15.10.2012
Fui atualizar os objetos para CreateDynamicOject e deu esses erros alguem me ajuda?
PHP код:
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(1154) : warning 219: local variable "timer" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(1866) : warning 219: local variable "parent" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2742) : error 021: symbol already defined: "AttachObjectToObject"
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2749) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2751) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2759) : error 025: function heading differs from prototype
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2759) : error 021: symbol already defined: "Object_GetPos"
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2760) : error 021: symbol already defined: "Object_GetPos"
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2763) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2765) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2768) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2781) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2908) : warning 219: local variable "parent" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(2938) : error 025: function heading differs from prototype
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(3250) : warning 219: local variable "px" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(3251) : warning 219: local variable "py" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\pawno1\include\YSI/Visual/YSI_objects.own(3252) : warning 219: local variable "pz" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(33) : warning 201: redefinition of constant/macro (symbol "SPECIAL_ACTION_CUFFED")
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(1827) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(1853) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(1855) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(5990) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(6870) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(6965) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(6980) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7027) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7042) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7141) : error 021: symbol already defined: "Object_OnPlayerDisconnect"
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7152) : error 021: symbol already defined: "KillTimer"
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7155) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7161) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7163) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7173) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7177) : error 021: symbol already defined: "SetVehicleToRespawn"
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7180) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7183) : error 054: unmatched closing brace ("}")
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7184) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7187) : error 054: unmatched closing brace ("}")
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7188) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7191) : error 054: unmatched closing brace ("}")
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7192) : error 010: invalid function or declaration
C:\Users\EDUARDO\Desktop\BPG\gamemodes\BPG.pwn(7195) : error 054: unmatched closing brace ("}")
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
e eu fiz da seguinte forma :
PHP код:
// no topo do gamemode
#include <Y_Objects>
// no OnGameModeInit
public OnGameModeInit()
{
Object_Object();
// no OnPlayerDisconect
Object_OnPlayerDisconnect(playerid, reason);
Re: Erro Objetos -
DrTHE - 15.10.2012
Tenta usar outro streamer.
Re: Erro Objetos -
Victor' - 15.10.2012
Use o streamer:
https://sampforum.blast.hk/showthread.php?tid=102865
Re: Erro Objetos -
Jack_Bawer - 16.10.2012
como uso esse streamer? :/