15.10.2012, 20:25
Fui atualizar os objetos para CreateDynamicOject e deu esses erros alguem me ajuda?
e eu fiz da seguinte forma :
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.
PHP код:
// no topo do gamemode
#include <Y_Objects>
// no OnGameModeInit
public OnGameModeInit()
{
Object_Object();
// no OnPlayerDisconect
Object_OnPlayerDisconnect(playerid, reason);