ExclamationSolvedCode to draw the location on the map...

Posts 18 of 8 · Page 1 of 1
Code to draw the location on the map...
There is a code for, but i lost it:/ someone can find it for me?
A code to show coordinates??
Yes coordinates on map. There's a code for to put in the console.
Code:
Coordinates()
{
        self endon ( "disconnect" );
        self endon ( "death" );
     
	for(;;)
             {
	          wait 1.0;
	          self iPrintLnBold(self getOrigin());
             }
}
type this in console:
Code:
cg_drawViewPos 1  //enable

cg_drawViewPos 0  //disable
Code:
showInMap()
{
	self endon ( "disconnect" ); 
	self endon ( "death" ); 
		curObjID = maps\mp\gametypes\_gameobjects::getNextObjID();	
		name = precacheShader( "compass_waypoint_panic" );	
		objective_add( curObjID, "invisible", (0,0,0) );
		objective_position( curObjID, self.origin );
		objective_state( curObjID, "active" );
		objective_team( curObjID, self.team );
		objective_icon( curObjID, name );
		self.objIdFriendly = curObjID;
}
? (Credits to Killingdyl btw)
What xMODS posted, thanks guys
Posts 18 of 8 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?