IT/playSoundFrontEnd

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
« Torna alla Pagina principale italiana .


Questa funzione avvia un suono ad un giocatore.

Sintassi

Click to collapse [-]
Server
bool playSoundFrontEnd ( player thePlayer, int sound )   

Argomenti richiesti

  • thePlayer: Il player a cui vuoi far sentire il suono.
  • sound: Un valore integer contenente l'ID del suono. I valori validi sono:
  • 0 - 20 Suoni di Selezione
  • 27 - 30 Suoni Proiettili
  • 32 - 33 Suoni di Selezione
  • 34 Disturbo Radio
  • 35 Ferma Disturbo Radio
  • 37 - 38 Tick
  • 40 Suoni di Selezione
  • 41 - 42 Tick (munizioni finite)
  • 43 - 45 Countdown
  • 46 Riparazione
  • 47 Rumore Disturbato
  • 48 Ferma Rumore Disturbato
  • 49 Disturbo corto
  • 101 Countdown/Selezione
Click to expand [+]
Client

Valori restituiti

Restituisce true se il suono è stato correttamente eseguito, false altrimenti.

Esempio

Click to expand [+]
Server
Click to expand [+]
Client

Vedere anche