SA-MP Forums Archive
[FilterScript] Dynamic Actors System [MySQL R41-4] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Dynamic Actors System [MySQL R41-4] (/showthread.php?tid=660015)



Dynamic Actors System [MySQL R41-4] - KinderClans - 22.10.2018





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.


Re: Dynamic Actors System [MySQL R41-4] - DIRTYBYT3 - 23.10.2018

Good work


Re: Dynamic Actors System [MySQL R41-4] - ZigGamerx - 23.10.2018

@KinderClans,

Really Nice man


Re: Dynamic Actors System [MySQL R41-4] - KinderClans - 23.10.2018

Thanks both.


Re: Dynamic Actors System [MySQL R41-4] - XxBaDxBoYxX - 23.10.2018

Maybe it's just me or something.
But why can't I view the source directly on Github?

Also, I think it would be dope if you could add a command to toggle the labels.


Re: Dynamic Actors System [MySQL R41-4] - KinderClans - 23.10.2018

Quote:
Originally Posted by XxBaDxBoYxX
View Post
Maybe it's just me or something.
But why can't I view the source directly on Github?

Also, I think it would be dope if you could add a command to toggle the labels.
My bad, i just registered yesterday on GitHub and still learning.

I tried to upload directly .pwn file for the source but got pasted with undefined and strange symbols. But there you go, uploaded on pastebin.

https://pastebin.com/aSq35jkz