SA-MP Forums Archive
[FilterScript] Simple event system [SSANF][DCMD] - 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] Simple event system [SSANF][DCMD] (/showthread.php?tid=426026)



Simple event system [SSANF][DCMD] - [AK]Nazgul - 27.03.2013

--- EVENT SYSTEM ---

What it is
It is just a simple event system I created by myself. It uses dcmd and sscanf.
There are overall 7 commands:
</event [name]>
</eweapon [weaponid]>
</winner [ID] [price]>
</start>
</eventover>
</join>
</eventcmds>

What it does
Basicly, the /event command saves your interior and position and enables joining the event.
You can't create a new event if another one is already running.
If you join the event, your hp gets restored, your weapons are reset and you are frozen.
You have one minute to join an event.
Then the admin can give the players weapons with /eweapon and, once he is finished, start the event with /start.
When the event has ended(one player/party has won) the admin can use /winner to announce a winner and give him a price(money) and /eventover to end the event.
Everyone is spawned.

Video

http://www.youtube.com/watch?v=bjKKY...ature=*********

Download

http://pastebin.com/UD6Kh8Jq
amx and pwn are also attached to the topic
Bugs:
Quote:

There are currently no known bugs

Changelog:
Quote:

v 1.1: Added a /winner command
v 1.2: Converted all commands into dcmd
v 1.3: Added a /eventcmds command




Re: Simple event system [SSANF][DCMD] - DetoNater - 06.04.2013

nice event system!!


Re: Simple event system [SSANF][DCMD] - ProShooter22 - 07.04.2013

Thanx alot bro! and u should add /eventwinner or something +rep


Re: Simple event system [SSANF][DCMD] - Matt - 07.04.2013

nice work with this, reping you


AW: Simple event system [SSANF][DCMD] - [AK]Nazgul - 07.04.2013

Thanks for the feedback
Added a /winner command.


Re: Simple event system [SSANF][DCMD] - MytzaMytz - 07.04.2013

Thanx a lot.


Re: Simple event system [SSANF][DCMD] - Matt - 07.04.2013

why do your new commands use strcmp instead of dcmd


AW: Simple event system [SSANF][DCMD] - [AK]Nazgul - 08.04.2013

Converted all commands into dcmd


Re: Simple event system [SSANF][DCMD] - Alex Magaсa - 08.04.2013

Great System !! Keep It !


Re: Simple event system [SSANF][DCMD] - Dopefull - 08.04.2013

Very good!