[HELP] bug - 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: [HELP] bug (
/showthread.php?tid=305989)
[HELP] bug -
BigBaws - 24.12.2011
hello folks i have a probleme that i didnt found his answer whats the wrong with my gamemone i want to add a FS in my Server so i made a Copy past its all alright but when i add this
Код:
stock PlayerToPoint(playerid,Float:radi, Float:px, Float:py, Float:pz)
{
if(IsPlayerConnected(playerid))
{
new Float:x, Float:y, Float:z;
new Float:ox, Float:oy, Float:oz;
GetPlayerPos(playerid, ox, oy, oz);
x = (ox -px);
y = (oy -py);
z = (oz -pz);
if (((x < radi) && (x > -radi)) && ((y < radi) && (y > -radi)) && ((z < radi) && (z > -radi))) return 1;
}
return 0;
}
its making me an error in my complie & when i remove it it compile without errors
and i should add this stock to can fix the bug in my Systeme
some peoples told me thats ther is somewhere your stock how i know where is the old stock ? & thanks
Re: [HELP] bug -
silvan - 26.12.2011
what's the error it say?
Re : [HELP] bug -
BigBaws - 26.12.2011
Some think like that 'Stock' i likes to send you my email i need a help & thanks silvan