BilinmeyenBey Posted September 18, 2021 Share Posted September 18, 2021 I dig in to main.scm. I looked for Pay and Spray shop script. Which I did not find. But I searched it in Google, but Google did not give the answer to me. So I want to start this topic. How to create an Pay and Spray shop script? Link to comment Share on other sites More sharing options...
ZAZ Posted September 19, 2021 Share Posted September 19, 2021 (edited) VC or SA ? btw. do Google search for these 2 words: gtamods.com garage Edited September 19, 2021 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
DavidReyes2250 Posted September 19, 2021 Share Posted September 19, 2021 See "grge" in the Item Placement (IPL) Link to comment Share on other sites More sharing options...
BilinmeyenBey Posted September 21, 2021 Author Share Posted September 21, 2021 On 9/19/2021 at 9:05 AM, ZAZ said: VC or SA ? btw. do Google search for these 2 words: gtamods.com garage It's for GTA San Andreas On 9/19/2021 at 11:06 PM, DavidReyes2250 said: See "grge" in the Item Placement (IPL) Ok I guess? Link to comment Share on other sites More sharing options...
ZAZ Posted September 21, 2021 Share Posted September 21, 2021 Pay'n Spray is a kind of garage There're several types of garage -Save garage -Pay'n Spray -Tuning shop -Bomb shop -Mission garage These garages can only be created through the GRGE section of the IPL file GRGE is a section in the item placement file. It creates an invisible cube which interacts as a garage. format grge PosX, PosY, PosZ, LineX, LineY, CubeX, CubeY, CubeZ, Flag, Type, Name end the type parameter defines if it works as Pay'n Spray, Save garage or somthing else read here about garage types The garage door only opens if the IDE flag value of the door is 2048 and the door is defined in the object.dat file. read here about the ipl construct there're several script codes to manipulate the garages 02FA: set_garage 'MICHDR' type 5 0299: activate_garage 'VECMOD' 02B9: deactivate_garage 'BEACSV' 0360: open_garage 'BURG_LK' 0361: close_garage 'MICHDR' 021B: set_garage 'BODLAWN' to_accept_only_car $PLAYER_CAR 03B0: garage 'BODLAWN' door_open 03B1: garage 'HBGDSFS' door_closed 0A14: disable_respray_garages 1 0335: enable_free_respray 1 093A: set_paynspray 'MICHDR' type_to_girlfriend 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now