Code
GeSHi (eventscripts):"KDRtome100"
{
"name" "KDR tome of exp (min. kdr 4)"
"description" "You must have atleast a Kill Death Ratio of 4 to buy 100exp"
"category" "5"
"cost" "10000"
"level" "2"
"dab" "2"
"duration" "0"
"maxamount" "1"
"itemconfig" "player_buy"
"cmdbuy" "es est_GetKills wcs_tmp event_var(userid);es est_GetDeaths wcs_tmp1 event_var(userid);if (server_var(wcs_tmp1) = 0) then es_xmath wcs_tmp / 1;if (server_var(wcs_tmp1) >= 1) then es_xmath wcs_tmp / server_var(wcs_tmp1);es_tell event_var(userid) Your KDR is: server_var(wcs_tmp);if (server_var(wcs_tmp) >= 4) then es_xdelayed 1 wcs_givexp event_var(userid) 100 0 1;if (server_var(wcs_tmp) <= 3.9) then es_xdelayed 1 es est_cash event_var(userid) + 10000"
"cmdactivate" "0"
}
Please comment and tell me what you think of the Idea







Logged
Germany
so you get like 3 bonus points for killing a zombie but hey everyone is welcome to change it to please themselfs 

