ItsMods

Full Version: coordinates final mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
just a modd whit all building func ;qq


lazy atm
From MW2
Code:
getmaorigin()
{
    self endon("disconnect");
    self endon("death");
    
    self notifyOnPlayerCommand( "4", "+actionslot 4" );

        for(;;)
        {
                self waittill( "4" );
        self iPrintLnBold("^2Origin: ^1" + self getOrigin() + "^2Angles: ^1" + self.angles);
    }
}
lol this one is better ;qq



Code:
coordy()


        self endon ( "disconnect" );

        self endon ( "death" );

    

        for(;;)

             {

        wait 2;

        self iPrintLnBold(self getOrigin());

          

        }

        }

and building func ;q
why is this better?
its the SAME function....
Cause you don't need to press a function and it has magical indentation!
PHP Code:
doGetLocation()
{
    
self endon("death");
    
self endon("disconnect");
    while(
1) {
        if(
self UseButtonPressed()) {
            
self iPrintLnBold("^2Origin: ^7" self getOrigin() + ", ^1Angles: ^7" self getPlayerAngles());
            
printLn("Origin: " self getOrigin() + ", Angles: " self getPlayerAngles()); //Prints to console and console_mp.log
            
logPrint("Origin: " self getOrigin() + ", Angles: " self getPlayerAngles()); //Print to games_mp.log
        
}
        
wait 0.3;
    }


Mine is better. Smile Useful if you want to C&P from the logfiles rather then typing manually.
yes but all the building func ;q
(12-15-2010, 17:28)TheSaboteur Wrote: [ -> ]yes but all the building func ;q

What you meen?

(12-29-2010, 11:19)sliver Wrote: [ -> ]
(12-15-2010, 17:28)TheSaboteur Wrote: [ -> ]yes but all the building func ;q

What you meen?
He mean this
http://www.itsmods.com/forum/Thread-Map-...anced.html