27.03.2013, 18:15
(
Last edited by [AK]Nazgul; 09/04/2013 at 05:06 PM.
Reason: v 1.3
)
--- 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: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
Quote:
There are currently no known bugs |
Quote:
v 1.1: Added a /winner command v 1.2: Converted all commands into dcmd v 1.3: Added a /eventcmds command |