LUA help.
when I finish my concmap it says "name has finished concmasta" but, it stays on the screen. How can I make it only stay for like 5 seconds?
This is what I have so far... Victory_Point = trigger_ff_script:new({}) function Victory_Point:ontouch(touch_entity) if IsPlayer(touch_entity) then local player = CastToPlayer(touch_entity) if Finished_Players:HasItem(player) then return 0 -- This player has already finished the map. else BroadCastMessage(player:GetName() .. ' has completed Concmasta! Congratulations!', 6546, Color.kRed) -- 5 seconds, red color player:AddFortPoints(19547796, 'Completed Concmasta!') Finished_Players:AddItem(player) end end end |
Change your line:
Code:
BroadCastMessage(player:GetName() .. ' has completed Concmasta! Congratulations!', 6546, Color.kRed) Code:
BroadCastMessage(player:GetName() .. ' has completed Concmasta! Congratulations!', 5, Color.kRed) |
ty sir =D
|
All times are GMT. The time now is 04:45 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.