17-10-2008, 11:02 PM
Why do you make a btnAdmin, and that button is viewable to everyone who is or is not a admin, so go into frmMirage and in form_load add
then make btnAdmin's visibilty false through it's own properties
(I think that will work, do not qoute me on it though)
and add the f1 key to form key up the way it was done in the old tuts
Code:
If GetPlayerAccess(MyIndex) >= ADMIN_MONITER Then
btnAdmin.Visible = True
Else
If GetPlayerAccess(MyIndex) >= 0 Then
btnAdmin.Visible = False
Call AddText("You do NOT have access to that selection.", BrightRed)
End If
End If
(I think that will work, do not qoute me on it though)
and add the f1 key to form key up the way it was done in the old tuts