[Filterscript] Weed Drug Script - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13) ---- Forum: Filterscripts (https://forum.open.mp/forumdisplay.php?fid=30) ---- Thread: [Filterscript] Weed Drug Script (/showthread.php?tid=2445) |
Weed Drug Script - Galax - 2023-08-25 Weed Drug Script A weed drug script for roleplay server or roleplay gamemode. Previously it has many performance issue but i tried to fix all of them. You can use it with your roleplay gamemode, all you need to change player inventory items variables as per your roleplay gm. To improve further performance in /weed cmd, you can make multiple iterators for each weed field and use them according to which weed field player is at. No changes need in timer because timer can loop over every single plant if you set timer than more 5 seconds.
How to build?- Change `g_PlayerInventory[playerid]` to your inventory variables or you can use (`getInvitem` or 'setInvitem') functions - Compile and Run! Used Library sscanf - [v2.13.8] streamer - [v2.9.6] YSI Includes - [latest] (y_timers, y_commands, y_hooks, y_iterators) Source Code:- https://github.com/galaxone/SAMP-RP-Weed-Drug-System Screen Shot RE: Weed Drug Script - Emirto - 2024-01-01 Cool system RE: Weed Drug Script - Mido - 2024-01-06 Good stuff. |