isPlayerOnline

Need advices or help troubleshooting? Ask for help here.
Post Reply
wbty
Posts: 9
Joined: Fri Sep 07, 2018 7:17 pm

isPlayerOnline

Post by wbty » Mon Sep 10, 2018 12:19 pm

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?

Armelin
Posts: 20
Joined: Sun Jul 30, 2017 4:28 am

Re: isPlayerOnline

Post by Armelin » Mon Sep 10, 2018 8:11 pm

Thanks for reporting this issue. I have uploaded a patch 3 to fix this and a few other things.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest