SA-MP Forums Archive
Help Issue! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Issue! (/showthread.php?tid=369224)



Help Issue! - Akcent_Voltaj - 16.08.2012

Please help i will give rep if theres someone that needs it anyways why doesent this get called in Gm

PHP код:
new CarInfo[1000][cInfo]; 



Re: Help Issue! - SaYrOn - 16.08.2012

Give more information please, where doesn't it get called?


Re: Help Issue! - Akcent_Voltaj - 16.08.2012

so if i go CTRL+F and i type carinfo it doesent find it just past it... if i do CTRL+F and cinfo it finds it...

PHP код:
enum cInfo
                    
{
                        
cModel,
                        
Float:cLocationx,
                        
Float:cLocationy,
                        
Float:cLocationz,
                        
Float:cAngle,
                        
cColorOne,
                        
cColorTwo,
                        
cOwner[MAX_PLAYER_NAME],
                        
cDescription[12],
                        
cValue,
                        
cLicense[14],
                        
cRegistration,
                        
cOwned,
                        
cLock,
                        
mod1,
                        
mod2,
                        
mod3,
                        
mod4,
                        
mod5,
                        
mod6,
                        
mod7,
                        
mod8,
                        
mod9,
                        
mod10,
                        
mod11,
                        
mod12,
                        
mod13,
                        
mod14,
                        
mod15,
                        
mod16,
                        
mod17,
                        
paintjob,
                    };
                    
                    new 
CarInfo[1000][cInfo]; 



Re: Help Issue! - SEnergy - 16.08.2012

and what;s the error or what's not working?


Re: Help Issue! - Akcent_Voltaj - 16.08.2012

i get errors that carinfo doesent get finded..


Re: Help Issue! - SaYrOn - 16.08.2012

Where do you use that carinfo? Only with that enum?


Re: Help Issue! - SEnergy - 16.08.2012

is it really that hard to copy-paste those errors here? also post your function where you are using CarInfo


Re: Help Issue! - Akcent_Voltaj - 16.08.2012

error 017: undefined symbol "CarInfo" it doesent get finded if i post those are my car function pff


Re: Help Issue! - SaYrOn - 16.08.2012

Okay, maybe you have your function above that declaration? Put enum and declartion at the very top of your script


Re: Help Issue! - Akcent_Voltaj - 16.08.2012

is there a thingy so i know where i get errors i put an {,} somewhere in + i get 26 errors not with carinfo