Raised This Month: $ Target: $400
 0% 

Scripting onjoin msg help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 19:54.


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