Raised This Month: $ Target: $400
 0% 

help with sound and set models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 08-16-2009 , 19:00   help with sound and set models
Reply With Quote #1

Well, I did that when you select an option from a menu, you will hear a sound and set you a player model
but it doesn't work

PHP Code:
new const example_sound[] = "misc/example/sound.wav"
new const example_model[] = "models/example/model.mdl"

public plugin_precache()
    
    
precache_sound(example_sound)
    
engfunc(EngFunc_PrecacheModelexample_model)

//...
        
case 1:
        {
            
client_cmd(id"spk ^"%s^""example_sound)  
            
cs_set_user_model(id"example_model")
        } 
sorry, for my english
Zapdos1 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 08-16-2009 , 19:05   Re: help with sound and set models
Reply With Quote #2

Is that the code you're using? :O
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 08-16-2009 , 19:06   Re: help with sound and set models
Reply With Quote #3

yeah xD
Zapdos1 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 08-16-2009 , 19:18   Re: help with sound and set models
Reply With Quote #4

i should learn how to script if i were you :/
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 08-16-2009 , 19:25   Re: help with sound and set models
Reply With Quote #5

plz, help T_T
Zapdos1 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 08-16-2009 , 19:45   Re: help with sound and set models
Reply With Quote #6

You are really IceShot nr2
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 08-16-2009 , 20:29   Re: help with sound and set models
Reply With Quote #7

Quote:
Originally Posted by crazyeffect View Post
You are really IceShot nr2
It's my friend... from Chile
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS 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 15:10.


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