//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AWP4CASH- Gives the AWPer a $3000 bonus. Leaving the AWPed with $1000 // // // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Credits: // // Me- Tyler Morrison (AKA WYB, Ty90012, Watch Your Back!!!) // // Mattie- For makeing eventscripts! // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //load info block load { es_xsetinfo Awp4cash 1 es_makepublic Awp4cash } //unload info block unload { es_xsetinfo Awp4cash 0 } //Round MSG Script event round_start { es_msg #green [AWP4CASH] If you get AWPed you lose all your $ except $1000, and you give him an extra 3000! } //Actually script event player_death { if (event_var(es_attackerteam) notequalto event_var(es_userteam)) do { // awp only kill if (event_var(weapon) equalto awp) do { es est_cash event_var(attacker) + 3000 es est_setcash event_var(userid) 1000 es_tell event_var(attacker) #multi #green You killed #default event_var(es_username) #green with an #default AWP #green and got #default $3000! es_tell event_var(userid) #multi #green You just donated #default $3000 #green to #default event_var(es_attackername)'s #lightgreen AWP fund #green setting you back to #default $1000! es_emitsound player event_var(attacker) "bot/great.wav" 1 0.8 } } }