Raised This Month: $ Target: $400
 0% 

help with sound and set models


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


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 15:10.


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