SA-MP Forums Archive
OnGameModeInit() bug, limit or wtv ? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnGameModeInit() bug, limit or wtv ? (/showthread.php?tid=111292)



OnGameModeInit() bug, limit or wtv ? - RaFsTar - 30.11.2009

I have a problem with OnGameModeInit()..

Is there a limit of lines for this now ? Because when a reach one line that is a function of my car system (car 61) it stops reading since there ..

Needs help


Re: OnGameModeInit() bug, limit or wtv ? - bigcomfycouch - 30.11.2009

Something with your car system is stopping the code from executing.


Re: OnGameModeInit() bug, limit or wtv ? - patchkinson - 30.11.2009

oh yeah
you dont have like
line 59: AddStaticVehicle(...);
line 60: AddStaticVehicle(...);
line 61: AddStaticVehicle(...);
return 1;
AddStaticVehicle(...);
AddStaticVehicle(...);

??


Re: OnGameModeInit() bug, limit or wtv ? - AKA_Cross - 30.11.2009

Quote:
Originally Posted by patchkinson
oh yeah
you dont have like
line 59: AddStaticVehicle(...);
line 60: AddStaticVehicle(...);
line 61: AddStaticVehicle(...);
return 1;
AddStaticVehicle(...);
AddStaticVehicle(...);

??
^LOL...

Just Post your Lines and we can Tell you your Prop.


Re: OnGameModeInit() bug, limit or wtv ? - patchkinson - 30.11.2009

Quote:
Originally Posted by [VLV
Cross - (Venomous-VLV.com) ]
Quote:
Originally Posted by patchkinson
oh yeah
you dont have like
line 59: AddStaticVehicle(...);
line 60: AddStaticVehicle(...);
line 61: AddStaticVehicle(...);
return 1;
AddStaticVehicle(...);
AddStaticVehicle(...);

??
^^LOL!

Just Post your Lines and we can Tell you your Prop.
^^

eu sou portugues tb
im ptguese too^^


Re: OnGameModeInit() bug, limit or wtv ? - RaFsTar - 30.11.2009

Quote:
Originally Posted by patchkinson
oh yeah
you dont have like
line 59: AddStaticVehicle(...);
line 60: AddStaticVehicle(...);
line 61: AddStaticVehicle(...);
return 1;
AddStaticVehicle(...);
AddStaticVehicle(...);

??
It's like that, but my Car system funtion dont work after 61 car.


Re: OnGameModeInit() bug, limit or wtv ? - yezizhu - 30.11.2009

move ur return 1 at the end of OnGameModeInit, return means telling the machine to stop this function requireing.


Re: OnGameModeInit() bug, limit or wtv ? - patchkinson - 30.11.2009

remove the return 1;
^^


Re: OnGameModeInit() bug, limit or wtv ? - RaFsTar - 30.11.2009

Quote:
Originally Posted by patchkinson
remove the return 1;
^^
No there arent return 1;



Re: OnGameModeInit() bug, limit or wtv ? - patchkinson - 30.11.2009

weird?