isPlayerOnline

Need advices or help troubleshooting? Ask for help here.
Post Reply
wbty
Posts: 9
Joined: September 7th, 2018, 2:17 pm

isPlayerOnline

Post by wbty » September 10th, 2018, 7:19 am

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

Re: isPlayerOnline

Post by Armelin » September 10th, 2018, 3: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 11 guests