22.10.2018, 19:36
(
Last edited by KinderClans; 23/10/2018 at 06:58 PM.
)
I was bored to add every single actor with CreateActor, so i decided to make this.
It's a dynamic actors creator where actors are saved/loading directly in a mysql table called "actors".
You don't need anymore to go ingame, select the actor position, type /save, copy XYZ coordinates, open .pwn file and paste them in CreateActor function. This script does all the work.
No bugs have been found during the almost 2 hours of test, but if you find any, please report them in this topic.
Commands:
/createactor [skin id] - Creates an actor at your position with the skin set.
/removeactor [actor id] - Removes an actor from the database.
/removeallactors - Removes all created actors from the database.
/locatenearactors - Locates all actors in a range defined with MAX_ACTORS_RANGE.
Include/Plugins required:
MySQL R41-4: https://github.com/pBlueG/SA-MP-MySQL/releases
Sscanf: https://github.com/maddinat0r/sscanf/releases
Streamer: https://github.com/samp-incognito/sa...lugin/releases
I-ZCMD: https://github.com/YashasSamaga/I-ZC...ster/izcmd.inc
GitHub:
https://github.com/KinderClans/Dynam...r-System-MySQL or https://github.com/KinderClans/Dynam...MySQL/releases
Pastebin:
https://pastebin.com/aSq35jkz
So, what else to say...i like big butts and i cannot lie, you other brothers can't deny.
Enjoy.