How to make a infection bomb for First Zombie ? May 31, 2017 6:29:03 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by educja on May 31, 2017 6:29:03 GMT case EXTRA_MADNESS: // Zombie Madness { // Increase madness purchase count for this round g_madnesscounter++ g_nodamage[id] = true set_task(0.1, "zombie_aura", id+TASK_AURA, _, _, "b") set_task(get_pcvar_float(cvar_madnessduration), "madness_over", id+TASK_BLOOD) static sound[64] ArrayGetString(zombie_madness, random_num(0, ArraySize(zombie_madness) - 1), sound, charsmax(sound)) emit_sound(id, CHAN_VOICE, sound, 1.0, ATTN_NORM, 0, PITCH_NORM) }
How to make a infection bomb for First Zombie ? May 31, 2017 6:46:00 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on May 31, 2017 6:46:00 GMT See below bool:g_nodamage[id] = trueYou need to set it into false when the madness is over. Just add below code into madness_over function part:g_nodamage[id] = false
How to make a infection bomb for First Zombie ? May 31, 2017 18:20:33 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by educja on May 31, 2017 18:20:33 GMT Would it? g_nodamage[id] = false set_task(0.1, "zombie_aura", id+TASK_AURA, _, _, "b") set_task(get_pcvar_float(cvar_madnessduration), "madness_over", id+TASK_BLOOD)
How to make a infection bomb for First Zombie ? Jun 1, 2017 3:00:38 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 1, 2017 3:00:38 GMT No. Read again my statement:You need to set it into false when the madness is over. Just add below code into madness_over function part.
How to make a infection bomb for First Zombie ? Jun 1, 2017 4:13:29 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by educja on Jun 1, 2017 4:13:29 GMT I have it in false and it's the samepublic madness_over(taskid){ g_nodamage[ID_BLOOD] = false}
How to make a infection bomb for First Zombie ? Jun 1, 2017 4:19:30 GMT RaDNoX likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 1, 2017 4:19:30 GMT Just change that code:public madness_over(taskid){ g_nodamage[ID_BLOOD] = false}-->public madness_over(taskid){ new id = taskid - TASK_BLOOD g_nodamage[id] = false}
How to make a infection bomb for First Zombie ? Jun 3, 2017 23:17:56 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Jun 3, 2017 23:17:56 GMT Jun 1, 2017 4:19:30 GMT zmd94 said:Just change that code:public madness_over(taskid){ g_nodamage[ID_BLOOD] = false}-->public madness_over(taskid){ new id = taskid - TASK_BLOOD g_nodamage[id] = false}can you make a TUT for me how to make and use taskid ?
How to make a infection bomb for First Zombie ? Jun 4, 2017 7:27:11 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 4, 2017 7:27:11 GMT Just this:zppv.boards.net/post/26769/threadThen, add set_task native just use as below:zppv.boards.net/post/26746/thread
How to make a infection bomb for First Zombie ? Jun 4, 2017 22:27:05 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Jun 4, 2017 22:27:05 GMT can you make an example
How to make a infection bomb for First Zombie ? Jun 6, 2017 14:29:02 GMT Abed likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 6, 2017 14:29:02 GMT Example:#define TASK_INFO 2017public client_putinserver(id){ if(is_user_connected(id)) { set_task(1.0, "InfoHud", id+TASK_INFO, _, _, "b") }}public InfoHud(id){ id -= TASK_INFO // Do something with the 'id' index client_print(id, print_chat, "[ZP] ZPPV Forum!")}
How to make a infection bomb for First Zombie ? Jun 6, 2017 20:14:44 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Jun 6, 2017 20:14:44 GMT can you tell me what does "id+TASK_INFO" and "id -= TASK_INFO" mean ?and when i should use remove_task
How to make a infection bomb for First Zombie ? Jun 7, 2017 3:22:36 GMT via mobile Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by RaDNoX on Jun 7, 2017 3:22:36 GMT Lol Bro i suggest you open a thread... this tut is becoming too crowded....
How to make a infection bomb for First Zombie ? Jun 7, 2017 8:26:09 GMT Abed likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 7, 2017 8:26:09 GMT Just try to search.