05-27-2008, 04:09 AM
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.