ViRuZGamiing Posted November 8, 2013 Posted November 8, 2013 function allPlayersPayDay() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, 500 ) outputChatBox ( "---- Payday ----") [b]outputChatBox ( "You've earned €" value)[/b] outputChatBox ( "----------------") end end function onResourceStart(thisResource) setTimer ( allPlayersPayDay, 60000, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) at outputchatbox an expected ) at value
TAPL Posted November 8, 2013 Posted November 8, 2013 Comma is missing at line 6 + There is [/b] for the forum tag?
ViRuZGamiing Posted November 8, 2013 Author Posted November 8, 2013 Yes I know I thought to make it bold so you would see the line better but didn't work
Renkon Posted November 8, 2013 Posted November 8, 2013 you are missing a comma before value in that line.
ViRuZGamiing Posted November 8, 2013 Author Posted November 8, 2013 you are missing a comma before value in that line. don't try to get posts when TAPL (in this case) already told it
Renkon Posted November 8, 2013 Posted November 8, 2013 you are missing a comma before value in that line. don't try to get posts when TAPL (in this case) already told it Well, fuck you then, I just was trying to cooperate. Do you think I'd really waste time on responding a senseless thread to give a hand in kind? You earned my dislike.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now