Raised This Month: $ Target: $400
 0% 

checking what's already precached?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 01-30-2007 , 08:16   Re: checking what's already precached?
Reply With Quote #4

This will put each sound name to the array according to it's index:
Quote:
public plugin_init()
{
register_forward(FM_PrecacheSound,"fw_precachesound", 1);
}

public fw_precachesound(sound[])
{
format(sounds[get_orig_retval()],47,"%s",sound);
}
VEN is offline
 



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 00:40.


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