Why codes are skipped ? - 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: Why codes are skipped ? (
/showthread.php?tid=509322)
Why codes are skipped ? -
Ahmad45123 - 26.04.2014
In my OnGameModeInit.
Not all the codes are exectuted... i dont know why ?
for example :
Quote:
CreateDynamicObject(
CreateDynamicObject(
CreateDynamicObject(
CreateDynamicObject(
CreateDynamicObject(
|
The Bold code happend and the normal code didn't happen (Ignored)
so why is this happening ?
Re: Why codes are skipped ? -
Abagail - 26.04.2014
Can you provide your OnGameModeInit code? The small code you provided doesn't show a thing.
Re: Why codes are skipped ? -
Ahmad45123 - 26.04.2014
Quote:
Originally Posted by Abagail
Can you provide your OnGameModeInit code? The small code you provided doesn't show a thing.
|
Its an RP srcipt...
The OnGameModeInit has 1000+ lines...
Re: Why codes are skipped ? -
Ahmad45123 - 26.04.2014
Bump, please help !!!
Re: Why codes are skipped ? -
lonalovegood1 - 26.04.2014
paste your code in pastebin.com
if not no one can help you
Re: Why codes are skipped ? -
Ahmad45123 - 26.04.2014
See. its an RP script,
Pastebin doesn't allow me to add the whole code inside OnGameModeInit
So the actual problem is :
When going IG, everything is loaded [ Mapicons, houses, everything ] except mappings
So why is this happening ?
Re: Why codes are skipped ? -
Ahmad45123 - 26.04.2014
Bump, plz heeeeeelp
Re: Why codes are skipped ? -
DarkLored - 26.04.2014
Okay.
put this ontop of your script
this in the mappings
pawn Код:
Maxobjects[0] = CreateDynamicObject(//your stuff here)
hope i helped.
Re: Why codes are skipped ? -
Affan - 26.04.2014
Copy all the CreateDynamicObject's to pastebin if you want help lol
Re: Why codes are skipped ? -
Ahmad45123 - 26.04.2014
Quote:
Originally Posted by DarkLored
Okay.
put this ontop of your script
this in the mappings
pawn Код:
Maxobjects[0] = CreateDynamicObject(//your stuff here)
hope i helped.
|
But i dont need their id's !!!
why should i store them ?