isPlayerOnline
Posted: September 10th, 2018, 7:19 am
Example cmd:
Why return false if player IS online?
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