Post: Need Help with Mossy's UFO Mode Code
01-09-2011, 08:33 PM #1
Morphia
This is TeЯЯoЯ !!
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU members

I am newbie to patch editing so please don't flame.

I want to put Mossy's Ufo Mode code in my patch but I do not know why it does not work.

Here is the code:
    tUFO(){
if(self.IsVIP){
if(!self.IsUFO){
self.IsUFO=true;
self iprintln("UFO Mode - ^2On");
self.owp=self getWeaponsListOffhands();
foreach(w in self.owp)
self takeweapon(w);
self.newufo.origin=self.origin;
self playerlinkto(self.newufo);
}else{
self iprintln("UFO Mode - ^1Off");
self.IsUFO=false;
self unlink();
foreach(w in self.owp)
self giveweapon(w);
} } }

NewUFO(){
self endon("disconnect");
self endon("death");
for(;Winky Winky{
if(self.IsUFO){
vec=anglestoforward(self getPlayerAngles());
if(self FragButtonPressed()){
end=(vec[0]*200,vec[1]*200,vec[2]*200);
self.newufo.origin=self.newufo.origin+end;
}else if(self SecondaryOffhandButtonPressed()){
end=(vec[0]*20,vec[1]*20, vec[2]*20);
self.newufo.origin=self.newufo.origin+end;
} }
wait 0.05;
} }


I don't have any error message when i start lobby but when I turn ON the UFO Mode it does not work, I can press L2 or R2 but nothing happens.

Any help would be nice.

Regards.
(adsbygoogle = window.adsbygoogle || []).push({});
01-10-2011, 05:15 AM #2
Morphia
This is TeЯЯoЯ !!
no1 can help me ? :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo