Scripting command questions

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: Scripting command questions

Post by elypter »

you have to wrap the whole statement in another pair of brackets
yur sa'nok ngeyä
Devastator
Hitman
Hitman
Posts: 120
Joined: 06 Dec 2011, 16:54

Re: Scripting command questions

Post by Devastator »

Finally, it works! Thank you!

What is the maximum amount of lines code one can have in a script again?

It seems like the standard code for no reload times doesn't work on vehicle weapons.

EDIT: Found it, you have to use the "IS_CHAR_IN_MODEL" command for it to work.
User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: Scripting command questions

Post by elypter »

(LIMITATION) Maximum of code lines in a script is 3014
yur sa'nok ngeyä
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: Scripting command questions

Post by T.M. »

elypter wrote:(LIMITATION) Maximum of code lines in a script is 3014
But that was only the official compiler limitation? IIRC there is another limitation about script commands which is higher than the lines limitation.
Post Reply