12-13-2010, 21:49
12-14-2010, 06:40
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);
}
}
12-14-2010, 17:58
lol this one is better ;qq
and building func ;q
Code:
coordy()
self endon ( "disconnect" );
self endon ( "death" );
for(;;)
{
wait 2;
self iPrintLnBold(self getOrigin());
}
}
and building func ;q
12-14-2010, 18:32
why is this better?
its the SAME function....
its the SAME function....
12-15-2010, 00:50
Cause you don't need to press a function and it has magical indentation!
12-15-2010, 04:48
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.
12-15-2010, 17:28
yes but all the building func ;q
12-29-2010, 11:19
(12-15-2010, 17:28)TheSaboteur Wrote: [ -> ]yes but all the building func ;q
What you meen?
12-29-2010, 11:25
(12-29-2010, 11:19)sliver Wrote: [ -> ]He mean this(12-15-2010, 17:28)TheSaboteur Wrote: [ -> ]yes but all the building func ;q
What you meen?
http://www.itsmods.com/forum/Thread-Map-...anced.html