Post: Map Rotation Code
08-15-2010, 09:00 AM #1
BuZZKiLL310
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Not found by me it was Released by my Friend CrAzY FairyHoPn

Dont know if it was posted here if it was sorry Dnt FlameSmile




Thread this


    self thread doRotate();





Anywhere is Missions.gsc


    doRotate()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
for(;Winky Winky {
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,90));
self iPrintlnBold( "^1Angle ^2Set ^3To ^690" );
}
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,180));
self iPrintlnBold( "^1Angle ^2Set ^3To ^6180" );
}
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,270));
self iPrintlnBold( "^1Angle ^2Set ^3To ^6270" );
}
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,0));
self iPrintlnBold( "^1Angle ^2Set ^3To ^60" );
}
}
}


Stating the obvious:
The above code will rotate your player angle so tht the map looks rotated.


[ame="https://www.youtube.com/watch?v=KYa4YYjOMyA&feature=player_embedded"]https://www.youtube.com/watch?v=KYa4YYjOMyA&feature=player_embedded[/ame]


Clean Patch with Code Added:
You must login or register to view this content.





Rotation

This code automatically rotates the screen



    doRotation()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
self waittill("dpad_right");
for(i=0; i<=360; i+=5)
{
self setPlayerAngles(self.angles+(0,0,i));
wait 0.1;
if(i==360){
self thread doRotate();
}
}
}





[ame="https://www.youtube.com/watch?v=Hhe9FAJovdU&feature=player_embedded"]https://www.youtube.com/watch?v=Hhe9FAJovdU&feature=player_embedded[/ame]
(adsbygoogle = window.adsbygoogle || []).push({});
08-15-2010, 11:30 AM #11
Originally posted by BuZZKiLL310 View Post
I think. What he means is like being public like in Xbox


This is what I ment Winky Winky
08-15-2010, 02:57 PM #12
IDontbreak
Cake is a lie
Originally posted by BuZZKiLL310 View Post
Not found by me it was Released by my Friend CrAzY FairyHoPn

Dont know if it was posted here if it was sorry Dnt FlameSmile




Thread this


    self thread doRotate();





Anywhere is Missions.gsc


    doRotate()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
for(;Winky Winky {
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,90));
self iPrintlnBold( "^1Angle ^2Set ^3To ^690" );
}
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,180));
self iPrintlnBold( "^1Angle ^2Set ^3To ^6180" );
}
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,270));
self iPrintlnBold( "^1Angle ^2Set ^3To ^6270" );
}
self waittill( "dpad_right" ); {
self setPlayerAngles(self.angles+(0,0,0));
self iPrintlnBold( "^1Angle ^2Set ^3To ^60" );
}
}
}


Stating the obvious:
The above code will rotate your player angle so tht the map looks rotated.


You must login or register to view this content.


Clean Patch with Code Added:
You must login or register to view this content.





Rotation

This code automatically rotates the screen



    doRotation()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
self waittill("dpad_right");
for(i=0; i<=360; i+=5)
{
self setPlayerAngles(self.angles+(0,0,i));
wait 0.1;
if(i==360){
self thread doRotate();
}
}
}





You must login or register to view this content.


Lol Nice work, But you should put it in 3rd Person
08-15-2010, 03:58 PM #13
DEREKTROTTER
You're Goddamn Right
nice post but this is retarded
08-15-2010, 04:02 PM #14
Tustin
Balls of Steel
haha thats funny but really pointless
08-15-2010, 07:25 PM #15
BuZZKiLL310
Bounty hunter
not really its edited as a toggle so you could choose when u do it, its really fun
08-16-2010, 04:43 AM #16
ThisIsBio
LiquiDΔx
nice mod that does no good for the person. Anyway Good job Smile
08-18-2010, 02:10 PM #17
ModsBABY
Emo Popper !
Not to be a douche but you failed at the Rotation code, why make a self thread when there is nothing to end it on ?
08-18-2010, 03:35 PM #18
exTacy Angel
Auto 4 Theft?
do it in 3rd person

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo