Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » sound after vehicle purchase
sound after vehicle purchase [message #460454] Mon, 05 December 2011 06:30 Go to previous message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma:
Recruit

im trying this:

Quote:

FDSMessage(StrFormat("Purchase: %ls - %s",Get_Wide_Player_Name(obj),Translate_Preset(obj).c_str()),"_PURCHASE");

int Team = Get_Team(Get_Player_ID(obj));
if (Team == 0)
{
if (!_stricmp(Get_Translated_Preset_Name(obj),"Nod Buggy")) Create_2D_WAV_Sound_Player(obj,"mxxdsgn_dsgn0050i1evag_snd.wav");
}
else if (Team == 1)
{
if (!_stricmp(Get_Translated_Preset_Name(obj),"Humm-Vee")) Create_2D_WAV_Sound_Player(obj,"mxxdsgn_dsgn0050i1evag_snd.wav");

}
}


but it does not running

someone has a idea?


Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu

[Updated on: Mon, 05 December 2011 06:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Gameplay pending delay
Next Topic: Emitters and Infantry
Goto Forum:
  


Current Time: Thu Dec 19 21:12:24 MST 2024

Total time taken to generate the page: 0.00723 seconds