Raised This Month: $51 Target: $400
 12% 

HELP item extra set_task


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-13-2015 , 07:53   Re: HELP item extra set_task
Reply With Quote #11

Code:
public plugin_init()     register_event("HLTV", "EventHLTV", "a", "1=0", "2=0"); public EventHLTV()        set_task(30.0, "show_item"); public show_item() {     g_itemid_awp = zp_items_register("AWP", 10);     client_print(0, print_chat, "[ZP] A AWP Foi Liberada.") } public zp_fw_items_select_pre(id, itemid) {     if(itemid != g_itemid) return ZP_ITEM_AVAILABLE;         if(zp_core_is_zombie(id)) return ZP_ITEM_DONT_SHOW;         if(g_has_name[id])     {         zp_items_menu_text_add("\r[Buyed]")         return ZP_ITEM_NOT_AVAILABLE;     }     return ZP_ITEM_AVAILABLE; } public zp_fw_items_select_post(player, itemid) {     if(itemid != g_itemid)         return;         g_has_name[player] = true;     give_item(player, "weapon_awp"); }
__________________








CrazY. is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode