Code to draw the location on the map...
There is a code for, but i lost it:/ someone can find it for me?
Coordinates()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;;)
{
wait 1.0;
self iPrintLnBold(self getOrigin());
}
}
cg_drawViewPos 1 //enable cg_drawViewPos 0 //disable
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;
}
