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

Starwars...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 07:59   Starwars...
Reply With Quote #1

Whether u believe me or not not that 'most'
of u have seen the starwars plugin...

anyway the sounds aint emited and canceling out the originals...
the model isn;t apeearing afta i changed my oldone to the same one as that Pimp guy...

Thou u have do download it, etc, w/e.

Yes themes are playing...
at the end...

so it is running!

Code:
#include <amxmodx>  #include <fakemeta>  #include <cstrike>  #include <engine>  #include <amxmisc>  #include <fun>  public plugin_init()  {     register_plugin("Star Wars","0.1","Front Line")     register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")     register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")     register_event("CurWeapon", "weaponChange", "be", "1=1")     register_clcmd("array_go","check_uncheck")     register_forward( FM_EmitSound, "EmitSound" )  }  public plugin_precache()  {     precache_sound("misc/DVTheme.wav")     precache_sound("misc/JediTheme.wav")     precache_sound("weapons/saber_ignite.wav")     precache_sound("weapons/saber_hit1.wav")     precache_sound("weapons/saber_hit2.wav")     precache_sound("weapons/saber_hit3.wav")     precache_sound("weapons/saber_hit4.wav")     precache_sound("weapons/saber_hitwall1.wav")     precache_sound("weapons/saber_slash1.wav")     precache_sound("weapons/saber_slash2.wav")     precache_sound("weapons/saber_stab.wav")     precache_model("models/v_bluesaber.mdl")  }  public t_win()  {     client_cmd(0, "spk misc/DVTheme")     return PLUGIN_HANDLED  }  public ct_win()  {     client_cmd(0, "spk misc/JediTheme")     return PLUGIN_HANDLED  }  new array_go[33]  public check_uncheck(id)  {     if ( array_go[id] !=0 )     {         array_go[id] = 0         return PLUGIN_HANDLED     }     else     {         array_go[id] = 1     }     return PLUGIN_HANDLED  }  public EmitSound(entity, channel, const sound[])  {     if( entity > 32 || entity < 1 )     return FMRES_IGNORED;     if( array_go[entity] !=0 )     {         if( containi(sound,   "sound/weapons/knife_deploy1.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_ignite.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi(  sound,  "sound/weapons/knife_hit1.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_hit1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi(  sound,  "sound/weapons/knife_hit2.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_hit2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi( sound,   "sound/weapons/knife_hit3.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_hit3.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi( sound,   "sound/weapons/knife_hit4.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_hit4.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi( sound,  "sound/weapons/knife_hitwall1.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_hitwall1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi( sound,  "sound/weapons/knife_slash1.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_slash1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi(  sound,  "sound/weapons/knife_slash2.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_slash2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }         if( containi(  sound, "sound/weapons/knife_stab.wav" ) != -1 )         {             emit_sound( entity, channel, "weapons/saber_stab.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );             return FMRES_SUPERCEDE;         }     }     return FMRES_IGNORED;  }  public weaponChange(id)  if (get_cvar_num("dmk_on"))  {     new clip, ammo, wpnid = get_user_weapon(id,clip,ammo)     if (wpnid == CSW_KNIFE) {         entity_set_string(id,EV_SZ_viewmodel,"models/v_bluesaber")         entity_set_string(id, EV_SZ_viewmodel, "models/v_bluesaber.mdl")     }  }

thanks for your help blah blah etc i wanna get this going and release the BETA
__________________
Tupac is offline
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 08-03-2005 , 09:29  
Reply With Quote #2

i cant help you on this but i do have advice....

1) use emit_sound

2) Use indents....

o, why would oyu name yourself after a cs hack ?
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 09:43  
Reply With Quote #3

I alrdy knew this and what did i say about posting in my topics?
Quote:
Originally Posted by VanillA Ice
i cant help you on this but i do have advice....
u fucking dumbass did u even read it?
Quote:
Originally Posted by VanillA Ice
1) use emit_sound
....
...50/50 if u can't fucking read stfu!
Quote:
Originally Posted by VanillA Ice
2) Use indents....
....
Quote:
Originally Posted by VanillA Ice
o, why would oyu name yourself after a cs hack ?
DUmbfuck tupac shakur is a rapper not your mum.
__________________
Tupac is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-03-2005 , 13:49  
Reply With Quote #4

Sorry, but no one is going to help you with that attitude.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
lanvo
Member
Join Date: Jul 2005
Old 08-03-2005 , 15:28  
Reply With Quote #5

Quote:
Originally Posted by VanillA Ice
i cant help you on this but i do have advice....

1) use emit_sound

2) Use indents....

o, why would oyu name yourself after a cs hack ?
hey TROLL, if you can't help, just stay out of the topic next time...

- Thank You
__________________
check out my own custom map that i made surf_in-house for CS 1.6
lanvo is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-04-2005 , 02:28  
Reply With Quote #6

Thats exactly what i mean...

No disrespect av...your one of the best.
Thou u havn't been here to see all the fucking spam
bs he ALWAYS NO MATTER THE SUBject..

E.g. I asked for a simple function head...

He replied sorry can;t help u there..

dunt post if u dunt know fuckhead.
__________________
Tupac is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-04-2005 , 02:34  
Reply With Quote #7

Don't swear at strangers, no help for you.

Wait, I didn't help you, but I replied! Does that mean I can't help you? No.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
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:00.


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