Eso es porque te olvidaste de definir el argumento "visibleTo" en outputChatBox.
addCommandHandler ( "reglas",
function ( thePlayer )
outputChatBox ( "#ff0000 Reglas:No Cheat, No Hack o cualquier tipo de Hacker", thePlayer, 255, 0, 0, true )
end
)
Claro, pero aca no te vamos a dar todo completito como si fuese un restaurante, mira como hice el script ese de fianza, y intenta aplicarlo en el script de AFK.
function distanceFromPlayerToCheckpoint ( player, i )
local checkpoint = g_Checkpoints [ i ]
if ( checkpoint ) then
local x, y, z = getElementPosition ( player )
return getDistanceBetweenPoints3D ( x, y, z, unpack ( checkpoint.position ) )
end
end
Not by default, there's just a rectangular radar area, you could maybe somehow draw a custom radar area using DX functions ( like on GTA IV hud by Karlis ).