![]() |
|
coordinates final mod - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: coordinates final mod (/Thread-coordinates-final-mod.html) |
coordinates final mod - TheSaboteur - 12-13-2010 just a modd whit all building func ;qq lazy atm RE: coordinates final mod - 4FunPlayin - 12-14-2010 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);
}
}RE: coordinates final mod - TheSaboteur - 12-14-2010 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 RE: coordinates final mod - d0h! - 12-14-2010 why is this better? its the SAME function.... RE: coordinates final mod - SuperNovaAO - 12-15-2010 Cause you don't need to press a function and it has magical indentation! RE: coordinates final mod - master131 - 12-15-2010 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. Useful if you want to C&P from the logfiles rather then typing manually.RE: coordinates final mod - TheSaboteur - 12-15-2010 yes but all the building func ;q RE: coordinates final mod - sliver - 12-29-2010 (12-15-2010, 17:28)TheSaboteur Wrote: yes but all the building func ;q What you meen? RE: coordinates final mod - alistair3149 - 12-29-2010 (12-29-2010, 11:19)sliver Wrote:He mean this(12-15-2010, 17:28)TheSaboteur Wrote: yes but all the building func ;q http://www.itsmods.com/forum/Thread-Map-Building-Functions-Enhanced.html |