SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 31/12/2011, 05:06 AM   #1
NinjaChicken
Huge Clucker
 
NinjaChicken's Avatar
 
Join Date: Dec 2011
Posts: 467
Reputation: 22
Default ULTRA URGENT AUDIO THINGY

ok ive done some beach mapping for new years now i want someone to possibly make me a FS so when i type /song((or whatever cmd is)) is players a audio url please help meeeeeee
NinjaChicken is offline   Reply With Quote
Old 31/12/2011, 05:08 AM   #2
Ballu Miaa
High-roller
 
Ballu Miaa's Avatar
 
Join Date: Apr 2010
Location: New Delhi,India
Posts: 1,849
Reputation: 323
Default Re: ULTRA URGENT AUDIO THINGY

Get an FS then from the Filterscript sections! Those will be custom. Or post the URL u want to be played? n will it be for all the player's? or only for the playerid?
__________________


I will take half payment as an advance to script for you.
Click here to request my Scripting Service.

Ballu Miaa is offline   Reply With Quote
Old 31/12/2011, 05:50 AM   #3
NinjaChicken
Huge Clucker
 
NinjaChicken's Avatar
 
Join Date: Dec 2011
Posts: 467
Reputation: 22
Default Re: ULTRA URGENT AUDIO THINGY

i need it for all players withing an area automatically starts i cant find any
NinjaChicken is offline   Reply With Quote
Old 31/12/2011, 06:13 AM   #4
Ballu Miaa
High-roller
 
Ballu Miaa's Avatar
 
Join Date: Apr 2010
Location: New Delhi,India
Posts: 1,849
Reputation: 323
Default Re: ULTRA URGENT AUDIO THINGY

U mean when a Player is ON XYZ coordinates! It will auto Play's the URL for all the players?? Or only for the player who is on the XYZ Coordinate?
What URL u want to be played?
__________________


I will take half payment as an advance to script for you.
Click here to request my Scripting Service.

Ballu Miaa is offline   Reply With Quote
Old 31/12/2011, 08:22 AM   #5
NinjaChicken
Huge Clucker
 
NinjaChicken's Avatar
 
Join Date: Dec 2011
Posts: 467
Reputation: 22
Default Re: ULTRA URGENT AUDIO THINGY

i know where to add the url and co ords i just need base CMD
NinjaChicken is offline   Reply With Quote
Old 31/12/2011, 10:08 AM   #6
Ballu Miaa
High-roller
 
Ballu Miaa's Avatar
 
Join Date: Apr 2010
Location: New Delhi,India
Posts: 1,849
Reputation: 323
Default Re: ULTRA URGENT AUDIO THINGY

Quote:
Originally Posted by Ballu Miaa View Post
U mean when a Player is ON XYZ coordinates! It will auto Play's the URL for all the players?? Or only for the player who is on the XYZ Coordinate?
Answer the Question please so that i can give you the cmd?

PS

Your using strcmp right?
__________________


I will take half payment as an advance to script for you.
Click here to request my Scripting Service.

Ballu Miaa is offline   Reply With Quote
Old 31/12/2011, 10:22 AM   #7
Ash.
High-roller
 
Ash.'s Avatar
 
Join Date: Jan 2010
Location: England
Posts: 2,084
Reputation: 163
Default Re: ULTRA URGENT AUDIO THINGY

pawn Code:
CMD:play(playerid, params[])
{
     #pragma unused params
     if(!IsPlayerInRangeOfPoint(playerid, 25.0, X, Y, Z)) return SendClientMessage(playerid, COLOUR_RED, "You are not near the beach.");
     PlayAudioStreamForPlayer(playerid, YOUR_STREAM_URL);
     return 1;
}

Please read the wiki and other tutorials about command processing, especially if you have trouble doing things like that. They are the very basics and you should really go to know at least the basics if you're (planning on) running a server.
__________________
TruckingWorld
Work, Play, Make Friends
Written from scratch, and originally released in 2011, play today!
Visit the forum | Play the game
Ash. is offline   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
[Map] [MAP]Ultra Stunt Fluxde1337 Maps 48 16/06/2012 10:23 PM
Audio play (loops) [Audio plugin] Amine_Mejrhirrou Help Archive 4 17/08/2011 07:18 AM
[FilterScript] [FS] Car Ultra GOD DKN ipsBruno Lançamentos/Releases 13 06/06/2010 04:45 PM


All times are GMT. The time now is 07:49 PM.


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