SA-MP Forums Archive
Type of soil - 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: Type of soil (/showthread.php?tid=542434)



Type of soil - angelxeneize - 19.10.2014

I want to make a system for planting drugs. Know an include, stock or plugin detects the type of soil, concrete, grass etc ?. Thanks


Re: Type of soil - Sledgehammer - 19.10.2014

I don't think you can but it would be useful because once someone put weed in the police station every-where.


Re: Type of soil - Vince - 19.10.2014

That information is stored in the collision files that are used by the game to determine the sound the surface makes when punched or when walked on, and to produce the particles (like sand or grass) when driven over.

It can be viewed in a collision editor, yet I have no idea how one can easily and reliably extract that data.




Respuesta: Type of soil - angelxeneize - 19.10.2014

And thanks for your time Y-less. Attempts to do so.