ShoTz Posted April 22, 2022 Share Posted April 22, 2022 Hello, I want to make an advertising chat that the user sends his advertising every 5 minutes, this is what I have and I would like to have help on how to put the cooldown on it function evento ( message ) outputChatBox ( "#95CB0Dpublicidad: " .. message, 149, 203, 13,true ) end addEvent( "publicidad", true ) addEventHandler( "publicidad", localPlayer, evento ) Link to comment
0 Administrators Tut Posted April 23, 2022 Administrators Share Posted April 23, 2022 Welcome to the forums @ShoTz I'm not sure if your code is in Portuguese or Spanish, but I recommend posting to either of those language forums to make it easier to get help with this! Portuguese scripting section Spanish scripting section Link to comment
Question
ShoTz
Hello, I want to make an advertising chat that the user sends his advertising every 5 minutes, this is what I have and I would like to have help on how to put the cooldown on it
function evento ( message )
outputChatBox ( "#95CB0Dpublicidad: " .. message, 149, 203, 13,true )
end
addEvent( "publicidad", true )
addEventHandler( "publicidad", localPlayer, evento )
Link to comment
1 answer to this question
Recommended Posts