Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Music Island
Krakuski
Huge Clucker
Posts: 200
Threads: 28
Joined: Jul 2012
Reputation:
0
#1
13.01.2013, 20:57
Hey guys! I was wonderin' how ya'll can make it so when you get in range of a certain point, music plays, and if you get out of the range, the music will stop playin'
Cheers!
Krakuski
Find
Reply
BiosMarcel
Banned
Posts: 1,219
Threads: 51
Joined: Jul 2012
#2
13.01.2013, 21:01
if(IsPlayerInRangeOfPoint(playerid,100,X,Y,Z))
{
HERE WHAT SHOULD HAPPENS
}else{
Stop the Music!
}
Put it under OnPlayerUpdate
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help