• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

CreatureEvent Enter Gameworld [Global Message]

nice idea man it's work

good luck new script
25f5col.jpg
 
Create a new channel for "Server Status"

Then you can get the channel users and send it to them. People that are annoyed by it doesnt have to bother then, And if you got the channel up, You can display it there.
 
Well, I created a channel, where sould i modify the script to make it show only in this channel?
 
Shorter script:
PHP:
function onLogin(cid)
	if(getPlayerGroupId(cid) > 1) and (isPlayerGhost(cid) == false) then
		doBroadcastMessage(getCreatureName(cid) .. " has logged in. Staff position: " .. getGroupInfo(getPlayerGroupId(cid), getPlayerPremiumDays(cid) > 0).name:upper(), MESSAGE_STATUS_CONSOLE_RED)
	end
	return true
end
Anyone can post script that write to channel?
 
Back
Top