Boombox not working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Boombox not working (
/showthread.php?tid=530501)
Boombox not working -
devil shill - 07.08.2014
FIXED DELETE
Re: Boombox not working -
Clad - 07.08.2014
I'm sorry I don't know where the probleme is, Please show me the Client Message
Re: Boombox not working -
PawelQ - 07.08.2014
Код HTML:
if(!IsPlayerInRangeOfPoint(playerid,5.0,PlayerInfo[playerid][BBPos][0],PlayerInfo[playerid][BBPos][1],PlayerInfo[playerid][BBPos][2])) return SCM(playerid, -1,"You are not near a boombox!");
Here's your problem
Re: Boombox not working -
devil shill - 07.08.2014
The problem is at the IsPlayerInRangeOfPoint BBPos but basicly when near the created boombox it shows up the return message You are not near a boombox but im wondering why cause in the onplayereditobject it appoints the BBpos to the created object or am i wrong
Re: Boombox not working -
devil shill - 07.08.2014
Anyone ?
Re: Boombox not working -
dannyk0ed - 07.08.2014
You have to convert to OnPlayerEditDynamicObject.
Re: Boombox not working -
devil shill - 07.08.2014
Quote:
Originally Posted by dannyk0ed
You have to convert to OnPlayerEditDynamicObject.
|
Mind giving me a little help as im not to experienced with that part :S
Re: Boombox not working -
dannyk0ed - 07.08.2014
Quote:
Originally Posted by devil shill
Mind giving me a little help as im not to experienced with that part :S
|
Read the documentary in the streamer plugin and learn from there.