24.12.2011, 17:15
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
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
Код:
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; }
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