doPlayerSendTextMessage(cid, 19, "Co ma pisac.")czesc. jak zrobic aby co jakis czas pojawial sie napis kolorem pomaranczowym u kazdego gracza ? nie chce cos takiego jak broadcast , tylko taki pomaranczowy, i nie na ekranie a tam na dole w tej konsoli...
Np.Lua:function onThink(cid, interval, lastExecution) doPlayerSendTextMessage(cid, 19, "Co ma pisac.") return TRUE end
wywala Player not found
function onLogin(cid)
if getPlayerVipDays(cid) >= 1 then
doPlayerSendTextMessage(cid, 19, "You have ".. getPlayerVipDays(cid) .." vip days left.")
end
if getPlayerVipDays(cid) < 1 then
doPlayerSetStorageValue(cid, 85863, -1)
end
return true
end
Co jeden to madrzejszy 8)
Globalevent -> getOnlinePlayers() -> doPlayerSendTextMessage(cid, type, text)
function onThink(cid,interval, lastExecution)
getOnlinePlayers()
doPlayerSendTextMessage("tekst.",19)
return TRUE
end
Nie.