Page 1 of 1

isPlayerOnline

Posted: September 10th, 2018, 7:19 am
by wbty
Example cmd:

Code: Select all

	if(string.sub(text, 1, 10) == "/amionline") then
		if(isPlayerOnline(playerid) == true) then
			sendPlayerMsg(playerid,"You are online", 0xFFFFFFFF)
		else
			sendPlayerMsg(playerid,"You are not online!", 0xFFFFFFFF)
		end
	end
Why return false if player IS online?

Re: isPlayerOnline

Posted: September 10th, 2018, 3:11 pm
by Armelin
Thanks for reporting this issue. I have uploaded a patch 3 to fix this and a few other things.