View Single Post
Author Message
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 09-24-2008 , 19:37   Scripting onjoin msg help
Reply With Quote #1

Ok so, im new to sm scripting. I really have no clue how to do anything yet, so im trying to learn.

If anyone here is familiar with eventscripts, can you convert a simple advert onjoin script I made to sourcemod plugin? If I could just see how a simple script is done like this in sourcemod, it would help greatly.

Code:
block load
{
//Version
  es_xset nade_adverts v0.1
  es_makepublic nade_adverts
  
  es_msg [nade_adverts] is loading..
  
  
}

block unload
{
    es_msg [nade_adverts] is unloading..
  
}


event player_activate
{
    
    //Menu display info about tools upon join
    es_delayed 5 es_tell event_var(userid) #multi #greenServer features TF2 Nades!   -    Bind a key #default+nade2 #greenor say #default!nades #greenfor help!
}


How would you duplicate this in SM?
retsam is offline