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

Monster Mod


Post New Thread Reply   
 
Thread Tools Display Modes
solano
Member
Join Date: Nov 2009
Old 12-01-2009 , 13:19   Re: Monster Mod
Reply With Quote #81

is there anything wrong with this
Code:
set_user_rendering(id,kRenderFxGlowShell,r,g,b,kRenderNormal,25)
cause the server says i should add debug to the plugin
solano is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-01-2009 , 13:28   Re: Monster Mod
Reply With Quote #82

Provide the error when you ask help.

If you have an error it's probably because id is not a player.
__________________
Arkshine is offline
solano
Member
Join Date: Nov 2009
Old 12-01-2009 , 15:10   Re: Monster Mod
Reply With Quote #83

yes that was the error i was trying to make a mosnter glow with user_set_rendering
solano is offline
solano
Member
Join Date: Nov 2009
Old 12-02-2009 , 05:44   Re: Monster Mod
Reply With Quote #84

Code:
new Zombie = create_entity( "monster_zombie" );  
    set_pev( Zombie, pev_origin, Origin );
    //set_pev(Zombie,pev_enemy,id)
      DispatchSpawn( Zombie );    
     drop_to_floor( Zombie ); 

    new Float:TestOrigin[3];
    
    TestOrigin[0]=156.871551;
    TestOrigin[1]=892.470581;
    TestOrigin[2]=-1864.542480;
    
    engfunc(EngFunc_MoveToOrigin,Zombie,TestOrigin,10.0,MOVE_STRAFE)
but the zombie doesnt move it just sits there
solano is offline
solano
Member
Join Date: Nov 2009
Old 12-02-2009 , 07:03   Re: Monster Mod
Reply With Quote #85

how can i make the zombie use a path_corner entity
solano is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-02-2009 , 07:10   Re: Monster Mod
Reply With Quote #86

You are annoying. I've told you to stop to flood your own thread. Use the "Edit" button. And path_corner is not for monster.
__________________
Arkshine is offline
solano
Member
Join Date: Nov 2009
Old 12-02-2009 , 07:15   Re: Monster Mod
Reply With Quote #87

ok then tell me except for http://www.amxmodx.org
and http://www.amxmodx.org/funcwiki.php is there somewhere to read documentation about amx mod x so that i can stop asking questions and read and then try to do it my self
solano is offline
solano
Member
Join Date: Nov 2009
Old 12-02-2009 , 14:24   Re: Monster Mod
Reply With Quote #88

ok this is what im trying to
when the player spawns he should be moved to a predefined origin PlayerSpawns[0]
but with the above code that doesnt happen no error or anything just nothing happens
Code:
RegisterHam(Ham_Spawn,"player","MH_MoveToSpawn",1);//in plugin_init

public MH_MoveToSpawn( const id )
{
    set_pev( id, pev_origin, PlayerSpawns[0])
    return PLUGIN_HANDLED;
}
doesnt work is it because of the "player" thing?
i also tryed
Code:
register_event("ResetHUD", "MH_MoveToSpawn", "be")

Last edited by solano; 12-02-2009 at 14:55.
solano is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-02-2009 , 14:29   Re: Monster Mod
Reply With Quote #89

EDIT YOUR POST. I'm speaking chinese or what ?! oO

I don't even what answer, you post random code, we don't know what you are trying to do, you explain nothing. :s
__________________
Arkshine is offline
Old 12-02-2009, 14:30
solano
This message has been deleted by solano.
solano
Member
Join Date: Nov 2009
Old 12-03-2009 , 14:23   Re: Monster Mod
Reply With Quote #90

dont be mad
<( ̄ω ̄)>
solano 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 07:16.


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