plzzz help me
#1

plzz help my object streamer dont work i use xObjects = not working

MidoStream = Not Working

****** = not working

please i need a simple and a easy to use object streamer

xStreamer = not working
thxx...alot...
Reply
#2

Quote:
Originally Posted by luckie12
plzz help my object streamer dont work i use xObjects = not working

MidoStream = Not Working

****** = not working

please i need a simple and a easy to use object streamer

xStreamer = not working
thxx...alot...
please anyone?
Reply
#3

pawn Код:
PointToPoint(Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2, Float:dist)
{
    x1 -= x2;
    y1 -= y2;
    z1 -= z2;
    return ((x1 * x1) + (y1 * y1) + (z1 * z1) <= dist * dist);
}
And
pawn Код:
new Float:x,y,z;
GetPlayerPos(playerid,x,y,z);
if(PointToPoint(x,y,z,Obiekt[i][xpos],Obiekt[i][ypos],Obiekt[i][zpos],DYS))
{
CreateObject(Obiekt[i][modelid],Obiekt[i][xpos],Obiekt[i][ypos],Obiekt[i][zpos],Obiekt[i][xrot],Obiekt[i][yrot],Obiekt[i][zrot]);
}else{
DestroyObject(Obiekt[i][modelid]);
}
Use this code and create your streamer ;]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)