SRCDS Steam group


Cash Help!
#15
vietbound11 Wrote:but what do i put this as in event script?

You'll have to put it in a folder in this location:

cstrike/addons/eventscripts/kanin/es_kanin.txt

and in the .txt file you have to put this in:


Code:
event player_spawn
{
    es_setplayerprop event_var(userid) CCSPlayer.m_iAccount 16000
    // es_msg #multi Congraz. #lightgreenevent_var(userid)#default - Your cash has been set to #green 16000
    // Remove the "//" to add the text.
    // Post this in a .txt document, called eg. es_kanin.txt
    // - Realchamp

and then open up your autoexec.cfg, and add this line:

es_load kanin

and change map or restart the server, then it should work.
Reply


Messages In This Thread
Cash Help! - vietbound11 - 05-25-2008, 04:05 PM
RE: Cash Help! - trewq - 05-25-2008, 04:49 PM
RE: Cash Help! - vietbound11 - 05-25-2008, 05:16 PM
RE: Cash Help! - trewq - 05-25-2008, 05:23 PM
RE: Cash Help! - vietbound11 - 05-25-2008, 05:25 PM
RE: Cash Help! - trewq - 05-25-2008, 05:31 PM
RE: Cash Help! - Spartanfrog - 05-25-2008, 11:03 PM
RE: Cash Help! - vietbound11 - 05-26-2008, 05:49 AM
RE: Cash Help! - realchamp - 05-27-2008, 01:47 AM
RE: Cash Help! - Spartanfrog - 05-27-2008, 01:54 AM
RE: Cash Help! - realchamp - 05-27-2008, 03:32 AM
RE: Cash Help! - vietbound11 - 05-27-2008, 03:47 AM
RE: Cash Help! - vietbound11 - 05-27-2008, 03:48 AM
RE: Cash Help! - realchamp - 05-27-2008, 04:09 AM
RE: Cash Help! - Spartanfrog - 05-27-2008, 04:07 AM

Forum Jump:


Users browsing this thread: