SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 21/12/2014, 05:38 PM   #1
nezo2001
Gangsta
 
Join Date: Nov 2014
Location: Cairo, Egypt
Posts: 680
Reputation: 26
Default Events System [Updated !!! v.5

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.
__________________
Quote:
Originally Posted by Human
When im met u, u were nub at scripting xD.

But now, i'm impressed. Good job.
Don't look at my history. Everyone started somewhere

Last edited by nezo2001; 26/12/2015 at 04:38 PM.
nezo2001 is offline   Reply With Quote
Old 21/12/2014, 05:53 PM   #2
UltraScripter
Gangsta
 
UltraScripter's Avatar
 
Join Date: Oct 2014
Posts: 802
Reputation: 69
Default Re: Events System

nice
UltraScripter is offline   Reply With Quote
Old 21/12/2014, 06:22 PM   #3
nezo2001
Gangsta
 
Join Date: Nov 2014
Location: Cairo, Egypt
Posts: 680
Reputation: 26
Default Re: Events System

Thanks
__________________
Quote:
Originally Posted by Human
When im met u, u were nub at scripting xD.

But now, i'm impressed. Good job.
Don't look at my history. Everyone started somewhere
nezo2001 is offline   Reply With Quote
Old 21/12/2014, 06:24 PM   #4
OG Killo
Big Clucker
 
OG Killo's Avatar
 
Join Date: Oct 2012
Location: UK
Posts: 90
Reputation: 3
Default Re: Events System

Very nice for beginner
__________________

IP: 178.33.175.190:7777
FORUMS
OG Killo is offline   Reply With Quote
Old 22/12/2014, 02:40 PM   #5
nezo2001
Gangsta
 
Join Date: Nov 2014
Location: Cairo, Egypt
Posts: 680
Reputation: 26
Default Re: Events System

Thank You
__________________
Quote:
Originally Posted by Human
When im met u, u were nub at scripting xD.

But now, i'm impressed. Good job.
Don't look at my history. Everyone started somewhere
nezo2001 is offline   Reply With Quote
Old 22/12/2014, 02:57 PM   #6
Ryz
Huge Clucker
 
Ryz's Avatar
 
Join Date: Feb 2014
Posts: 481
Reputation: 29
Default Re: Events System

Good and easy

EDIT: Reason for including #include <Dini>?
__________________
***
Ryz is offline   Reply With Quote
Old 22/12/2014, 03:25 PM   #7
nezo2001
Gangsta
 
Join Date: Nov 2014
Location: Cairo, Egypt
Posts: 680
Reputation: 26
Default Re: Events System

Still learning
__________________
Quote:
Originally Posted by Human
When im met u, u were nub at scripting xD.

But now, i'm impressed. Good job.
Don't look at my history. Everyone started somewhere
nezo2001 is offline   Reply With Quote
Old 22/12/2014, 03:26 PM   #8
Flori
Huge Clucker
 
Flori's Avatar
 
Join Date: Sep 2014
Location: Germany
Posts: 352
Reputation: 26
Default AW: Events System

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.
Flori is offline   Reply With Quote
Old 22/12/2014, 03:28 PM   #9
Ahammad
Huge Clucker
 
Ahammad's Avatar
 
Join Date: Oct 2014
Location: India
Posts: 280
Reputation: 53
Default Re: Events System

Easy work. Keep it up man.
Ahammad is offline   Reply With Quote
Old 22/12/2014, 03:34 PM   #10
Glossy42O
High-roller
 
Join Date: Oct 2014
Location: in my house
Posts: 1,733
Reputation: 231
Default Re: Events System

You just set his virtual world.
Glossy42O is offline   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
Halloween events Eagle1928 Everything and Nothing 1 25/10/2014 05:04 PM
How do you time events? jstowe96 Scripting Help 3 14/10/2013 06:18 PM
[HELP] Events andershh Help Archive 4 17/07/2010 02:28 AM
Random events lol2112 Help Archive 2 28/05/2009 10:35 AM


All times are GMT. The time now is 06:19 AM.


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