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

HELP item extra set_task


Post New Thread Reply   
 
Thread Tools Display Modes
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
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 11-13-2015 , 09:40   Re: HELP item extra set_task
Reply With Quote #12

Não funciona porque zp_items_register tem que ser na função principal
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-13-2015 , 10:09   Re: HELP item extra set_task
Reply With Quote #13

Então não sei como fazer.
__________________








CrazY. is offline
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 11-13-2015 , 10:30   Re: HELP item extra set_task
Reply With Quote #14

ok mais valeu por tentar me ajuda eu vou tentar outras formas eu conseguir publico aqui!
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 11-14-2015 , 07:18   Re: HELP item extra set_task
Reply With Quote #15

The forum language is english.
__________________

Mordekay is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-14-2015 , 07:36   Re: HELP item extra set_task
Reply With Quote #16

Quote:
Originally Posted by Mordekay View Post
The forum language is english.
idi nahui cyka blyat
sorry for my bad english
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 11-14-2015 , 10:22   Re: HELP item extra set_task
Reply With Quote #17

https://mymemory.translated.net/en/R...lyat-idi-nahui lol
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 11-14-2015 , 15:07   Re: HELP item extra set_task
Reply With Quote #18

Whatever he wanted to say he cannot hit me.
__________________

Mordekay is offline
Reply


Thread Tools
Display Modes

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 05:50.


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