Posted: Thu Sep 29, 2016 4:59 am Post subject: Game status ( on / off)
I have made this lua
function CETimer1Timer(sender)
if getProcessIDFromProcessName(ProcssName) ~= nil
then online =true
else online = false
end
if online then
getAutoAttachList().add(ProcssName)
control_setCaption(MadMax_CELabel1, "Game Is ON!")
else
control_setCaption(MadMax_CELabel1, "Game Is Off!")
end
end
Posted: Thu Sep 29, 2016 8:59 am Post subject: Re: Game status ( on / off)
if getProcessIDFromProcessName(ProcssName) ~= nil then
Formname.MadMax.Caption = "Game is On"
end
if getProcessIDFromProcessName(ProcssName) == nil then
Formname.MadMax.Caption = "Game is Off"
end
Posted: Thu Sep 29, 2016 12:10 pm Post subject: Re: Game status ( on / off)
cheatislove cheatislife wrote:
if getProcessIDFromProcessName(ProcssName) ~= nil then
Formname.MadMax.Caption = "Game is On"
end
if getProcessIDFromProcessName(ProcssName) == nil then
Formname.MadMax.Caption = "Game is Off"
end
can you say what it's wrong with my lua ? i have a error with your lua
if getOpenedProcessID() ~= 0 and readInteger(ProcessName) ~= nil then
Formname.MadMax.Caption = "Game is On"
else
Formname.MadMax.Caption = "Game is Off"
end
if getOpenedProcessID() ~= 0 and readInteger(ProcessName) ~= nil then
Formname.MadMax.Caption = "Game is On"
else
Formname.MadMax.Caption = "Game is Off"
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum