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

request sma edit help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
newstartnewbegin2
Junior Member
Join Date: Jul 2019
Old 08-05-2019 , 23:34   request sma edit help
Reply With Quote #1

can someone make this for a public MOD. its np if sound/jb_engine/round_sound models/jb_engine/v_round_sound.mdl if they stay the same np


PHP Code:
    }

    for(new 
isizeof(g_iHamHookForwards); i++) EnableHamForward(g_iHamHookForwards[i]);

    
g_bRoundEnd true;

    if(
g_iRoundSoundSize)

    {

        new 
aDataRoundSound[DATA_ROUND_SOUND], iTrack random_num(0g_iRoundSoundSize 1);

        
ArrayGetArray(g_aDataRoundSoundiTrackaDataRoundSound);

        for(new 
1<= g_iMaxPlayersi++)

        {

            if(
IsNotSetBit(g_iBitUserConnectedi) || IsNotSetBit(g_iBitUserRoundSoundi)) continue;

            
client_cmd(i"mp3 play sound/jb_engine/round_sound/%s.mp3"aDataRoundSound[FILE_NAME]);

            
UTIL_SayText(i"!g[Elijah - JailBreak]!y %L: !t%s"i"JBE_CHAT_ID_NOW_PLAYING"aDataRoundSound[TRACK_NAME]);

            if(
IsNotSetBit(g_iBitUserAlivei)) continue;

            static 
iszViewModel 0;

            if(
iszViewModel || (iszViewModel engfunc(EngFunc_AllocString"models/jb_engine/v_round_sound.mdl"))) set_pev_string(ipev_viewmodel2iszViewModel);

            
set_pdata_float(im_flNextAttack5.0);

            
UTIL_WeaponAnimation(i0);

        } 
I cant compile it idk why

i just need sounds ads. or if someone have background ads plugin please.

Last edited by DarkDeviL; 08-06-2019 at 20:32. Reason: Merge bumps/multi-posting
newstartnewbegin2 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-06-2019 , 20:32   Re: request sma edit help
Reply With Quote #2

1. SMA? That is AMXMOD, ...? Definitely does not belong to the SourceMod -> Scripting section, where you posted this, ...

-> Thread moved to AMX -> Scripting Help.


2. Your code starts with "}", which typically indicate the end of some sort of code, meaning you have only shared a partial piece of code...

-> Share the full code (100%!) of what you are trying to compile, if you want anyone to have a try at helping you troubleshoot why it won't compile.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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 07:50.


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