Thread: [Help / Support] [ZP] Lasermine help
View Single Post
Dyaus
Member
Join Date: Aug 2021
Old 04-24-2022 , 18:42   Re: [ZP] Lasermine help
Reply With Quote #4

this is where edit will take place
PHP Code:
Tripmine_Spawn(pOwner
and this is the line you're going to edit.
PHP Code:
entity_set_size(pTripmineFloat:{-8.0, -8.0, -8.0}, Float:{8.08.08.0}); 
this is a description of the size func : https://www.amxx-bg.info/api/engine/entity_set_size

in short it's like this :
entity_set_size(pTripmine, Float:{-a, -b, -c}, Float:{d, e, f}); with a,b,c,d,e,f being the parameters (dimensions to the box of your entity) . play around with them for a bit and you'll figure the right size for you

NOTE !!! : make sure to remember the original values or copy them into some other file in case you uh fuck sth up ?

note2 !! : these changes may or may not affect the model size from what i know ( so ye keep that in mind)
Dyaus is offline