Outdated How i do this? (3d draw)

MagnateSnake13

Known Member
Messages
25
Points
108
Help = (
ForgeON()
{
if(self.forgeOn==false)
{
self thread ForgeModeOn();
self iPrintlnbold("Forge Mode ^2ON ^1- ^7Hold [{+speed_throw}] to Move Objects");
self.forgeOn=true;
}
else
{
self notify("stop_forge");
self iPrintlnbold("Forge Mode ^1OFF");
self.forgeOn=false;
}
}
ForgeModeOn()
{
self endon("death");
self endon("stop_forge");
for( ; ; )
{
while(self adsbuttonpressed())
{
trace=bulletTrace(self GetTagOrigin("j_head"),self GetTagOrigin("j_head")+ anglesToForward(self GetPlayerAngles())* 1000000,true,self);
while(self adsbuttonpressed())
{
trace["entity"] setOrigin(self GetTagOrigin("j_head")+ anglesToForward(self GetPlayerAngles())* 200);
trace["entity"].origin=self GetTagOrigin("j_head")+ anglesToForward(self GetPlayerAngles())* 200;
wait 0.05;
}
}
wait 0.05;
}
}
 

Top