SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/10/2012, 02:27 AM   #1
DownDuckling
Big Clucker
 
Join Date: Nov 2011
Location: Southern California
Posts: 82
Reputation: 2
Default Spawn Selection textdraw and spawn music

Can someone help me with making a text draw that says "Ballaz" when I select a Ballaz class? And I want to know how to put music on the spawnscreen. Thanks.
__________________
Like a boss.
__________________________________________________ ____
My PC Specs: Intel Core i7 4790k @4.5
MOBO GIGABYTE Z97X-UD5H-BK
RAM Crucial Ballistix Sport 8 GB DDR3 RAM
GIGABYTE GTX 980 G1 Gaming
Case is a Corsair Vengeance C70 OD Green.
Damned H110 Broke Using a Hyper 212 EVO for now
__________________________________________________ ____
DownDuckling is offline   Reply With Quote
Old 14/10/2012, 02:31 AM   #2
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,684
Reputation: 485
Default Re: Spawn Selection textdraw and spawn music

There are two types native functions to play a music in SA-MP:

1st is

PlayerPlaySound

which plays a music from the available soundid from SA-MP (In Game)

2nd is

PlayAudioStreamForPlayer

which plays a music from the given link.

Anyway you need a TextDraw Editor for the textdraw "Ballaz class"
JaKe Elite is offline   Reply With Quote
Old 14/10/2012, 02:37 AM   #3
DownDuckling
Big Clucker
 
Join Date: Nov 2011
Location: Southern California
Posts: 82
Reputation: 2
Default Re: Spawn Selection textdraw and spawn music

Thanks!
__________________
Like a boss.
__________________________________________________ ____
My PC Specs: Intel Core i7 4790k @4.5
MOBO GIGABYTE Z97X-UD5H-BK
RAM Crucial Ballistix Sport 8 GB DDR3 RAM
GIGABYTE GTX 980 G1 Gaming
Case is a Corsair Vengeance C70 OD Green.
Damned H110 Broke Using a Hyper 212 EVO for now
__________________________________________________ ____
DownDuckling is offline   Reply With Quote
Old 14/10/2012, 02:40 AM   #4
DownDuckling
Big Clucker
 
Join Date: Nov 2011
Location: Southern California
Posts: 82
Reputation: 2
Default Re: Spawn Selection textdraw and spawn music

Could you show me the syntax for PlayerPlaySound? I don't know how I would type it in in pawno. :P
__________________
Like a boss.
__________________________________________________ ____
My PC Specs: Intel Core i7 4790k @4.5
MOBO GIGABYTE Z97X-UD5H-BK
RAM Crucial Ballistix Sport 8 GB DDR3 RAM
GIGABYTE GTX 980 G1 Gaming
Case is a Corsair Vengeance C70 OD Green.
Damned H110 Broke Using a Hyper 212 EVO for now
__________________________________________________ ____
DownDuckling is offline   Reply With Quote
Old 14/10/2012, 02:42 AM   #5
Emmet_
Guest
 
Posts: n/a
Default Re: Spawn Selection textdraw and spawn music

PlayerPlaySound(playerid, soundid, 0.0, 0.0, 0.0);
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Music at Spawn [HHT]DRON Scripting Help 11 13/04/2017 04:17 PM
[AJUDA] Colocar TextDraw Antes do Spawn e Após Spawn davidjnio Português/Portuguese 9 30/08/2011 07:53 PM
Spawn Place Selection Soumi Help Archive 7 11/03/2011 05:57 PM
disabling spawn selection LasTRace Help Archive 5 29/07/2010 01:57 PM
You Know The Music Before You Spawn? Of Course You Do! BP13 Help Archive 2 17/06/2009 04:17 AM


All times are GMT. The time now is 10:26 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.