Jump to content

xXGhostXx

Members
  • Posts

    257
  • Joined

  • Last visited

Everything posted by xXGhostXx

  1. Please make it ! @DiGiTal @Galactix Please help me .
  2. Hi guys . i want script for job system ! for example vehicle id : 574 Sweeper job, driving in street and 3second give 6$ money ! please answer me ! thanks .
  3. Hey guys Please make Gui for show updates panel ! Command : /updates And edit text in lua file ! Please help me ! Thanks for read my problem .
  4. Hi guys . i want code for save wanted level ! setAccountData - getAccountData ! please fast help me !
  5. This your help ? @Galactix Please help me !
  6. xXGhostXx

    Play Sound

    Hey guys ! I have a problem to play the sound ! Server side: function newspm ( thePlayer, _, ... ) local message = table.concat ( { ... }, " " ) if ( isPlayerOnGroup ( thePlayer ) ) then if ... then for index, allpl in ipairs(getElementsByType("player")) do outputChatBox ( "(News Reporter)".. getPlayerName ( thePlayer ) ..": #FFFFFF".. message, allpl,255, 255, 255, true ) end else outputChatBox ( "#FFFFFFSyntax: /news <text>", thePlayer, 255, 255, 255, true ) end else outputChatBox ( "#ff0000Access Denied!", thePlayer, 255, 255, 255, true ) end end addCommandHandler ( "news", newspm ) Client side: function newssound() local message = playSound("pm.mp3",true) setSoundVolume(message, 0.9) end Like this send news for all players play sound ! please answer me !
×
×
  • Create New...