Enum help , with seifs FS
#1

Hello everyone , i have downloaded seifs FS , and i'm trying to put it in my GM (as he recommanded to) , but i have aleready done that with his other FS ( bomb system ) . All's fine for it self , but when i try to use 2 enums , i get errors :
pawn Код:
Seifs vehicle system need this :
enum vInfo
{
    vModel,
    Float:vX,
    Float:vY,
    Float:vZ,
    Float:vA,
    Float:vPX,
    Float:vPY,
    Float:vPZ,
    Float:vPA,
    vColor1,
    vColor2,
    vPaintjob,
    vMod[MAX_MODS],
    vOwner[MAX_PLAYER_NAME],
    vName[128],
    vLock,
    vPark,
}


Seifs Bomber need this :
enum bombInfo
{
    bombPlanter[MAX_PLAYER_NAME],
    Float:bombX,
    Float:bombY,
    Float:bombZ,
};


when i put it both inside , it doesn't count both of them and i get few errors , I'm pritty sure this is the problem
errors/warnings i get :
Код:
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28691) : warning 219: local variable "vX" shadows a variable at a preceding level
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28691) : warning 219: local variable "vY" shadows a variable at a preceding level
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28691) : warning 219: local variable "vZ" shadows a variable at a preceding level
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28697) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28698) : warning 213: tag mismatch
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28698) : warning 213: tag mismatch
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28698) : warning 213: tag mismatch
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28691) : warning 203: symbol is never used: "vZ"
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28691) : warning 203: symbol is never used: "vY"
C:\DOCUME~1\Ivan\Desktop\GTARP\GAMEMO~1\gtarp.pwn(28691) : warning 203: symbol is never used: "vX"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
sorry for my bad english
Reply
#2

You already have most of the variables + Ask in that topic.
Reply
#3

can anyone tell me how to fix this/ make this work ?
Reply
#4

Bump , please help :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)