Raised This Month: $12 Target: $400
 3% 

* EventScripts Working Examples and Script Packs


Post New Thread Closed Thread   
 
Thread Tools Display Modes
imported_Skillz
Member
Join Date: May 2005
Old 06-10-2005 , 16:05  
#21

Auto-Ad

A small script that shows an Advert in the middle of the screen at round start. Very simple to make and edit. It was created as a test to see how es_xrand works but i thought i would post it for anybody to use...

round_start.cfg
Code:
// EventScript v0.7.7.0 BETA
// A random Advert will be displayed at the end of the round

es_setinfo ad_number 0

es_xrand ad_number 1 5

if (server_var(ad_number) equalto 1) then
	es_xcentermsg Welcome to Skillz Test Server!
if (server_var(ad_number) equalto 2) then
	es_xcentermsg NO Hacks or Cheats! You will be BANNED!
if (server_var(ad_number) equalto 3) then
	es_xcentermsg Play Fair or Dont play at all!
if (server_var(ad_number) equalto 4) then
	es_xcentermsg FF is On! Watch your fire!
if (server_var(ad_number) equalto 5) then
	es_xcentermsg Visit us at www.lyrictricity.info!
imported_Skillz is offline
Ace Rimmer
Senior Member
Join Date: Apr 2005
Old 06-11-2005 , 12:26   Ace's Clan Match Script Pack
#22

Ace's Clan Match Script Pack with AMX scores and clan team names etc.

Discussion & Download:
http://www.sourcemod.net/~sourcemod/...pic.php?t=1622

Please read instructions before download.

Requires Mani Admin Plug-in. + ES 0.7.7.
__________________
Smoke me a kipper, I'll be back for breakfast

Main Web Site-Ace Rimmer-System Information
Ace Rimmer is offline
welsh
Member
Join Date: Jun 2005
Location: Wales, U.K
Old 06-12-2005 , 14:06  
#23

ToAo82 has put together script from my idea that when you join server a message will show to people in game.

Quote:
if(event_var(es_steamid) equalto "STEAM_X:X:XXXXXXX") then es_xmsg "player X has joined the game"
play around with the meesage to your liking

(Edit by Mattie: I suspect this script should go in player_activate.cfg)

thanks ToAo82
welsh is offline
Send a message via MSN to welsh Send a message via Yahoo to welsh
ToAo82
Member
Join Date: Apr 2005
Old 06-12-2005 , 16:39  
#24

@welsh
Can you tell me, why you are using the code I gave to you?..
ToAo82 is offline
ajax
Veteran Member
Join Date: Jan 2005
Old 06-17-2005 , 13:33   timecheck
#25

TIMECHECK Script Pack
EventScripts v0.7.5

features
displays how long a map has been running. just say "timecheck" how much time has already elapsed.

links
--> THREAD
--> DOWNLOAD
ajax is offline
ToAo82
Member
Join Date: Apr 2005
Old 06-17-2005 , 15:51  
#26

Anti Bomb Bonus Kills

Based on nemoD
Tested and working..

in bomb_defused.cfg
Code:
es_xsetinfo defuser 0 
es_setinfo defuser event_var(es_userkills)
es_delayed 1 es_xmath defuser - 3 
es_delayed 1 nm_setkills event_var(es_username) server_var(defuser)
//If not set with delay, the kills arenīt set correctly
in bomb_exploded.cfg
Code:
es_xsetinfo bomber 0 
es_setinfo bomber event_var(es_userkills)
es_xmath bomber - 3 
es nm_setkills event_var(es_username) server_var(bomber)
For all others that doesnīt want Bonuskills..
There are some Server, where People Teamkill other People for the bomb.. So I think this is needed.. ;)
ToAo82 is offline
Mattie
Veteran Member
Join Date: Jan 2005
Old 06-18-2005 , 13:01   Thread moved to new forums!
#27

NOTICE: This thread has now moved to its own subforum on my site. Please post your examples there:
http://www.mattie.info/cs/forums/viewforum.php?f=14

All new forums:
http://mattie.info/cs/forums
Mattie is offline
Closed Thread



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

Forum Jump


All times are GMT -4. The time now is 10:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode