ViRuZGamiing Posted November 8, 2013 Share 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 Link to comment
TAPL Posted November 8, 2013 Share Posted November 8, 2013 Comma is missing at line 6 + There is [/b] for the forum tag? Link to comment
ViRuZGamiing Posted November 8, 2013 Author Share Posted November 8, 2013 Yes I know I thought to make it bold so you would see the line better but didn't work Link to comment
Renkon Posted November 8, 2013 Share Posted November 8, 2013 you are missing a comma before value in that line. Link to comment
ViRuZGamiing Posted November 8, 2013 Author Share 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 Link to comment
Renkon Posted November 8, 2013 Share 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. Link to comment
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