09.07.2010, 22:14
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 :
errors/warnings i get :
sorry for my bad english
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
Код:
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.