Code
function anticheat ()
if getElementData ( lp, "isInHighNoon" ) or isPedDead ( lp ) then
showChat ( false )
if isElement ( gLabels["InfoTextForum"] ) then
guiSetVisible ( gLabels["InfoTextForum"], false )
guiSetVisible ( gLabels["InfoTextForumShadow"], false )
end
showPlayerHudComponent ( "radar", false )
else
if not guiGetVisible ( gLabels["InfoTextForum"] ) then
if isElement ( gLabels["InfoTextForum"] ) then
guiSetVisible ( gLabels["InfoTextForumShadow"], true )
guiSetVisible ( gLabels["InfoTextForum"], true )
end
end
end
end
Alles anzeigen