Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Full and Simple Actor System

$
0
0
ACTOR SYSTEM

Yo, I have been learning and practicing Pawn for months now and I just finished my first Filterscript. This is a pretty simple Actor System containing several helpful commands, they are listed below.

Commands
  • /spawnactor [skin id] [Vulnerability (0: invulnerable / 1: vulnerable)] > spawns the actor where the player is facing
  • /removeactor [actor id] (id can be viewed if went near it or /allactors) > removes specified actor
  • /removeallactors > clears all actors
  • /gotoactor [actor id] > TP you to the actor's position
  • /getactor [actor id] > TP the actor to your position
  • /setactoranim [animation name] > Set an anim on actor
  • /cancelactoranim [actor id] > cancels the anim that has been excuted on the actor
  • /cancelallactorsanim > cancels all anims that has been excuted on the actors
  • /actorstext > shows/hides all actors 3D text
  • /updateactor [actor id] [skin id] [vulnerability] > updates specified actor's skin and vulnerability (Also updates rotation, view where you want and apply command!)
  • /actorhelp > Shows a list of Actors' system commands

    NOTE: YOU HAVE TO BE LOGGED IN AS RCON TO EXECUTE THESE COMMANDS!

How to make this work?
  • Download the Mediafire file (if you use Pastebin to download, you know what you are doing :P)
  • Follow the instructions given in the 'ReadMe' file.
  • Join the game and log in as RCON.

Picture
https://i.gyazo.com/5e3779f877721635...2cdef495f5.png

Downloads
Mediafire
Pastebin

Credits
  • maddinat0r - sscanf
  • Zeex - zcmd
  • SA-MP - everything basically

Bugs
I haven't found any bugs while testing this script, but do reply below if you find any.

Viewing all articles
Browse latest Browse all 595

Trending Articles