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
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
Users browsing this forum: No registered users and 1 guest