[FilterScript] Events System
#1

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(playeridparams[])
{
if(
PInfo[playerid][Level] >= 1)
{
SetPlayerVirtualWorld(playerid1);
}
else
{
SendClientMessage(playeridCOLOR_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.
Reply
#2

nice
Reply
#3

Thanks
Reply
#4

Very nice for beginner
Reply
#5

Thank You
Reply
#6

Good and easy

EDIT: Reason for including #include <Dini>?
Reply
#7

Still learning
Reply
#8

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.
Reply
#9

Easy work. Keep it up man.
Reply
#10

You just set his virtual world.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)