[FilterScript] Events System - 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] Events System (
/showthread.php?tid=551914)
Events System [Updated !!! v.5 -
nezo2001 - 21.12.2014
This is my first filterscript don't judge me hard
Events System
The red words for the second update
The blue words for the third update
The green words for the fourth update
The orange words for the fifth update
I was searching for one and i didn't found so i decided to make one to help other.
Commands:
/crevent (Create an event
The admin able to make one event only at a time not more than one the same time.)
/join (join an event
Admin must make a event to make the players join.)
/leave (leave an event
and kill the player to remove the weapon from him you can disable it but the player can play with the weapon after the event)
/finish (For admin to finish the event to enable him or other to make other one. Please Dont Forget! Kill all the player in the event And remove all vehicles
/eweapon [id] [SCRIPTED BY : Flori] (Give all the player in the event any weapon)
/earmour (Give all the player in the event armour Fixed !)
/ehealth (Restore all the player's in the event health Fixed)
/ev [name][color1][color2] (Spawn a car)
/rv (Remove the car that the admin spawned the admin must by inside the vehicle)
/barrier (Spawn the barrier to line up the players only one at a time)[Removed!]
/rbarrier (remove the barrier) [Removed!]
/ec (To chat with all players in the event)
/emute [ID] (Time) (To mute the player from talking in the event "He will be still can chat in the other worlds ! Fixed)
/eopen (Open the event to let people join)
/eclose (Close the event)
I've optimized the script and removed all unused variables. I was noob
If you want to enable admin only to make events you can add:
Example:
PHP Code:
CMD:crevent(playerid, params[])
{
if(PInfo[playerid][Level] >= 1)
{
SetPlayerVirtualWorld(playerid, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You aren't an admin !");
}
return 1;
}
The old one
Link:
http://pastebin.com/tYLkN8pn
The updated one
Link: http://pastebin.com/KSRb9Z7y
The Third Version
Link: http://pastebin.com/r808KeTd
The fourth Version
Link: http://pastebin.com/zfwH1Rbv
The fifth version
Link: http://pastebin.com/zjrLYZBg
Any thing else ??
Comments Please !!
Thank You.
Re: Events System -
UltraScripter - 21.12.2014
nice
Re: Events System -
nezo2001 - 21.12.2014
Thanks
Re: Events System -
OG Killo - 21.12.2014
Very nice for beginner
Re: Events System -
nezo2001 - 22.12.2014
Thank You
Re: Events System -
Ryz - 22.12.2014
Good and easy
EDIT: Reason for including #include <Dini>?
Re: Events System -
nezo2001 - 22.12.2014
Still learning
AW: Events System -
Flori - 22.12.2014
Well, nice try to make something, but for what can this be used?
You just set the VirtualWorld to 1. That's all.
TIP:
Make it like:
One guy can use /crevent. This will enable the command /join. If other guys type now /join they will not just get a different VW, you can set their position to the eventmaker + the VW.
Re: Events System -
Ahammad - 22.12.2014
Easy work. Keep it up man.
Re: Events System -
Glossy42O - 22.12.2014
You just set his virtual world.