Post by Abhinash ( Bboy NeO ) on Jan 25, 2016 16:16:01 GMT
I am a Scriptor . But not Expert Scriptor as zmd94 or Chihuahuax . For now , I can only for Time based . I don't know how to make 50 / 100 Bullets Only
Sorry .
Working on a very big AMXX project. Interested and Experienced peoples can contact me. My Facebook = Abhinash Behuria Phone number = 07686091154
g_iUnlimitLimit = register_cvar("zw_Unlimit_Limit", "3") // Limit for buying item per map g_iUnlimitTime = register_cvar("zw_Unlimit_Time", "30") // In seconds
g_sUnlimitItem = zp_register_extra_item("Unlimited BP Ammo", 20, ZP_TEAM_HUMAN) }
public Event_NewRound() { new iPlayers[32], iPlayerCount, i, id get_players(iPlayers, iPlayerCount, "a") for(i = 0; i < iPlayerCount; i++) { id = iPlayers[i] g_iUnlimitBought[id] = 0 } }
public zp_extra_item_selected(id, itemid) { if(is_user_alive(id) && itemid == g_sUnlimitItem) { if(g_iUnlimitBought[id] >= get_pcvar_num(g_iUnlimitLimit)) { client_print(id, print_chat, "[ZP] Limit for buying unlimited BP ammo is reached!") client_print(id, print_chat, "[ZP] Only %d times for buying unlimited BP ammo per map!", get_pcvar_num(g_iUnlimitLimit)) } else { cs_unlimited_reward(id, 2, 1, get_pcvar_float(g_iUnlimitTime))
g_iUnlimitBought[id]++ } } } Yet, you need to download and compile cs_reward.sma file also from below: