Post: HELP! Getting Freeze with this Backflip Mod
04-20-2018, 12:55 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); When i use this code and start the Game i getting a PS3 freeze.
Please help me to fix that.
Thank you.

    
initBackflip()
{
if(!self.backflipMod)
{
self.backflipMod = true;
self thread doBackflip();
self iprintln("Backflip Mod ^5ON\n^1[{+actionslot 3}] while standing to flip");
}
else
{
self.backflipMod = false;
self notify("endFlip");
self iprintln("Backflip Mod ^4OFF");
}
}
doBackflip()
{
self endon("endFlip");
self endon("disconnect");
self endon("death");
self endon("destroyMenu");
level endon("game_ended");
Flipping = false;
for(;Winky Winky
{
if(self actionslotthreebuttonpressed() && self getStance() == "stand" && Flipping == false)
{
Flipping = true;
flip = modelSpawner(self.origin, "tag_origin", self.angles);
self linkto(flip);
flip RotatePitch(2 * -180, 1.5);
wait 1.6;
self unlink();
flip delete();
Flipping = false;
}
wait .05;
}
}
04-20-2018, 06:41 PM #2
iRnZ
NextGenUpdate Elite
    initBackflip()
{
if(!self.backflipMod)
{
self.backflipMod = true;
self thread doBackflip();
self iprintln("Backflip Mod ^5ON\n^1[{+actionslot 3}] while standing to flip");
}
else
{
self.backflipMod = false;
self notify("endFlip");
self iprintln("Backflip Mod ^4OFF");
}
}

doBackflip()
{
self endon("endFlip");
self endon("disconnect");
self endon("death");
self endon("destroyMenu");
level endon("game_ended");
self.Flipping = false;

for(;Winky Winky
{
if(self actionslotthreebuttonpressed() && self getStance() == "stand" && self.Flipping == false)
{
self.Flipping = true;
self.flip = modelSpawner(self.origin, "tag_origin", self.angles);
self linkto(self.flip);
self.flip RotatePitch(2 * -180, 1.5);
wait 1.6;
self unlink();
self.flip delete();
self.Flipping = false;
}
wait .05;
}
}

//u forget this

modelSpawner(origin, model, angles)
{
obj = spawn("script_model", origin);
obj setModel(model);
if(isDefined(angles))
obj.angles = angles;
return obj;
}
Last edited by iRnZ ; 04-23-2018 at 09:00 PM. Reason: done work fine 100%

The following user thanked iRnZ for this useful post:

FRINZ

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo