SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 13/02/2018, 07:02 PM   #1
PizzaMag
Little Clucker
 
Join Date: Feb 2018
Posts: 9
Reputation: 1
Exclamation Full and Simple Actor System

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.
PizzaMag is offline   Reply With Quote
Old 14/02/2018, 02:41 PM   #2
Castiel17
Little Clucker
 
Castiel17's Avatar
 
Join Date: Jun 2017
Location: Norway
Posts: 23
Reputation: 0
Default Re: Full and Simple Actor System

Nice FS bro i will test it in my second server
__________________
Castiel17 is offline   Reply With Quote
Old 15/02/2018, 08:39 PM   #3
Agentbondy43
Little Clucker
 
Join Date: Mar 2012
Posts: 4
Reputation: 0
Default Re: Full and Simple Actor System

This is dope, gonna add it to my server and I'll let you know if it works.
Agentbondy43 is offline   Reply With Quote
Old 15/02/2018, 08:59 PM   #4
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,373
Reputation: 1208
Default Re: Full and Simple Actor System

You should be saving them what good is a system that doesn't save?
Pottus is offline   Reply With Quote
Old 16/02/2018, 06:44 AM   #5
SacrificeGaming
Gangsta
 
SacrificeGaming's Avatar
 
Join Date: Oct 2012
Posts: 640
Reputation: 37
Default Re: Full and Simple Actor System

Code:
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(70) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamageActor")
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(158) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(198) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(234) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(376) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(401) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(424) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(479) : error 017: undefined symbol "GetActorPoolSize"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
SacrificeGaming is offline   Reply With Quote
Old 16/02/2018, 08:03 AM   #6
AtlaSGaming
Little Clucker
 
Join Date: Nov 2017
Posts: 16
Reputation: 6
Default Re: Full and Simple Actor System

Quote:
Originally Posted by SacrificeGaming View Post
Code:
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(70) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamageActor")
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(158) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(198) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(234) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(376) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(401) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(424) : error 017: undefined symbol "GetActorPoolSize"
C:\Users\marlb\Desktop\Sacrifice Roleplay\filterscripts\ActorSystem.pwn(479) : error 017: undefined symbol "GetActorPoolSize"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
You need a_actor include, download it and put in folder pawno/include

Nice job, but there isn't save and load of actors
__________________
Shomy
AtlaSGaming is offline   Reply With Quote
Old 16/02/2018, 12:18 PM   #7
PepsiCola23
Gangsta
 
Join Date: May 2015
Posts: 681
Reputation: 3
Default Re: Full and Simple Actor System

what is the meaning of this type of systems?,as Pottus said,when there`s no saving & loading and if you close the server it`s all gone,
PepsiCola23 is offline   Reply With Quote
Old 16/02/2018, 03:21 PM   #8
willbedie
Huge Clucker
 
willbedie's Avatar
 
Join Date: Feb 2016
Location: database/Players
Posts: 217
Reputation: 9
Default Re: Full and Simple Actor System

Quote:
Originally Posted by Pottus View Post
You should be saving them what good is a system that doesn't save?
^^^^
__________________
RETIRED FROM SA-MP.
__________________________


Our server is currently under construction, you may register our forums if you want to know more about it.
The server is going to run on the last SA-MP version, which is 0.3.DL. It has so many features, stay updated on our forums.

FORUM | DISCORD
willbedie is offline   Reply With Quote
Old 16/02/2018, 03:24 PM   #9
Iqba
Little Clucker
 
Join Date: Jan 2016
Posts: 12
Reputation: 1
Default Re: Full and Simple Actor System

Quote:
Originally Posted by PizzaMag View Post
[CENTER]

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.
.. ^^^
Iqba is offline   Reply With Quote
Old 17/02/2018, 08:14 PM   #10
Astralis
Guest
 
Posts: n/a
Default Re: Full and Simple Actor System

Well it's not bad for your first filterscript, maybe in the future you can make this one save via MySQL.
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACTOR SYSTEM Pearson Scripting Help 2 01/12/2016 01:27 PM
[FilterScript] Actor System V0.2 Yogurt Filterscripts 15 20/10/2016 04:06 AM
[FilterScript] [Filterscript] Actor System V0.1 Yogurt Filterscripts 1 21/03/2016 12:07 PM
[GameMode] ---Basic Deathmatch Script - Custom classes - Score System - Full Admin System - [0.3z]--- Irektyou11 Gamemode Scripts 14 02/01/2015 11:14 PM
[FilterScript] Simple Briefcase System + A Simple Whisper System by kosa451 kosa451 Filterscripts 4 16/09/2013 08:20 PM


All times are GMT. The time now is 01:01 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.