AR/playSoundFrontEnd

From Multi Theft Auto: Wiki
Revision as of 00:11, 2 June 2013 by Lopez (talk | contribs) (Undo revision 36259 by MOJRM-511 (talk))
Jump to navigation Jump to search

. هذه الدالة تشغل الواجهة الأمامية الصوت للمشغل المحدد 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)

^_^