AR/playSoundFrontEnd: Difference between revisions
Jump to navigation
Jump to search
| Line 24: | Line 24: | ||
</section> | </section> | ||
==أنظر أيضاً== | |||
{{AR/Audio_functions}} | |||
[[de:playSoundFrontEnd]] | |||
Revision as of 00:11, 2 June 2013
. هذه الدالة تشغل الواجهة الأمامية الصوت للمشغل المحدد teteomar خنيث
مثال
Click to collapse [-]
serverهذه المثال يشغل الصوت عند السباون
function onPlayerSpawn ( theSpawnpoint, theTeam )
playSoundFrontEnd ( source, 16 )
end
addEventHandler ( "onPlayerSpawn", getRootElement(), onPlayerSpawn ) --- الحدث عند السباون
Click to collapse [-]
client'/sound' هذه المثال عندما الاعب يكتب في الشات
function onSoundEvent ( )
playSoundFrontEnd ( 16 )
end
addCommandHandler("sound", onSoundEvent)
أنظر أيضاً
- getSoundBufferLength
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance