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

Subplugin Submission [ZP] Extra Item: Confused Bomb v1.5


Post New Thread Reply   
 
Thread Tools Display Modes
Balgaa
Senior Member
Join Date: Mar 2010
Old 04-01-2012 , 07:45   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #141

ooh... sorry...

Last edited by Balgaa; 04-01-2012 at 10:32.
Balgaa is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-01-2012 , 10:09   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #142

Quote:
Originally Posted by Balgaa View Post
ooh...
This will consider as spam message too.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
anantthakor
Senior Member
Join Date: Aug 2009
Old 08-16-2013 , 22:36   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #143

L 08/16/2013 - 14:29:14: [ZP] Invalid Player (7)
L 08/16/2013 - 14:29:14: [AMXX] Displaying debug trace (plugin "cj_zp_extra_confused-bomb-v1.5.amxx")
L 08/16/2013 - 14:29:14: [AMXX] Run time error 10: native error (native "zp_get_user_zombie")
L 08/16/2013 - 14:29:14: [AMXX] [0] cj_zp_extra_confused-bomb-v1.5.sma::Forward_AddToFullPack_Post (line 254)
anantthakor is offline
last_hope
Senior Member
Join Date: Dec 2011
Old 11-17-2013 , 03:50   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #144

well...
I edited this bomb for zp5, no errors, but now bomb change zombie model to another zombie model, crap...
any chance to fix it?

I guess, this function set fake model? am I right? what's wrong here?
PHP Code:
create_fake_player(id)
{
    new 
iEntFake create_entity("info_target")
    
set_pev(iEntFakepev_classnameCLASSNAME_FAKE_PLAYER)
    
set_pev(iEntFakepev_modelindexpev(idpev_modelindex) )
    
set_pev(iEntFakepev_movetypeMOVETYPE_FOLLOW)
    
set_pev(iEntFakepev_solidSOLID_NOT)
    
set_pev(iEntFakepev_aimentid)
    
set_pev(iEntFakepev_ownerid)

    
// an? fake player
    
set_pev(iEntFakepev_rendermodekRenderTransAdd)
    
set_pev(iEntFakepev_renderamt0.0)

    return 
iEntFake

Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_confused-bomb-v1.5.sma - 520 views - 9.5 KB)
__________________
last_hope is offline
Send a message via ICQ to last_hope
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 11-17-2013 , 04:12   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #145

Why u use id on new round? The new round dont have index u need to use a loop, change this..

Last edited by wicho; 11-17-2013 at 04:13.
wicho is offline
last_hope
Senior Member
Join Date: Dec 2011
Old 11-18-2013 , 03:08   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #146

Quote:
Originally Posted by wicho View Post
Why u use id on new round? The new round dont have index u need to use a loop, change this..
np

PHP Code:
public logevent_round_end(id)
{
    for (new 
033i++)
    {
    
g_confusing[i] = false
    
if(task_exists(i+TASK_REMOVE_ILLUSION)) remove_task(i+TASK_REMOVE_ILLUSION)
    if(
task_exists(i+TASK_CONFUSED_SPR)) remove_task(i+TASK_CONFUSED_SPR)
    }

can you explain why plugin replace zombie models? why he didn't replace zombie model to human model?
how to fix it?
Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_confused-bomb-v1.5.sma - 557 views - 9.5 KB)
__________________
last_hope is offline
Send a message via ICQ to last_hope
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 11-18-2013 , 19:19   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #147

PHP Code:
public logevent_round_end(id

    for(new 
033i++) 
    { 
    
g_confusing[i] = false 
    
if(task_exists(i+TASK_REMOVE_ILLUSION)) remove_task(i+TASK_REMOVE_ILLUSION
    if(
task_exists(i+TASK_CONFUSED_SPR)) remove_task(i+TASK_CONFUSED_SPR
    } 

-->

PHP Code:
public logevent_round_end() 
{  
    for(new 
idid <= get_maxplayers(); id++)
    { 
    
g_confusing[id] = false 
    
if(task_exists(id+TASK_REMOVE_ILLUSION)) remove_task(id+TASK_REMOVE_ILLUSION
    if(
task_exists(id+TASK_CONFUSED_SPR)) remove_task(id+TASK_CONFUSED_SPR
    } 

And about the model i dont understand u mean the knife model or player model?

Last edited by wicho; 11-18-2013 at 19:31.
wicho is offline
Gasa
Senior Member
Join Date: Sep 2013
Old 11-18-2013 , 19:28   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #148

set_es(es_handled, ES_ModelIndex, pev(host, pev_modelindex)) uncheck
Gasa is offline
last_hope
Senior Member
Join Date: Dec 2011
Old 11-18-2013 , 23:25   Re: [ZP] Extra Item: Confused Bomb v1.5
Reply With Quote #149

Quote:
Originally Posted by wicho View Post
And about the model i dont understand u mean the knife model or player model?
nope
victim sees a zombie but the model of another class
so
now bomb is replacing zombie to zombie models, not zombie to human
this wrong and I have no idea how to fix it...
__________________

Last edited by last_hope; 11-18-2013 at 23:25.
last_hope is offline
Send a message via ICQ to last_hope
Reply



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 03:31.


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