|
| 16 Feb 2015 03:20 PM |
for _, player in pairs(contestants) do if player then if gameresults == "BloxxerWin" and player == bloxxer then awardpoints(player, 9) elseif gameresults ~= "BloxxerWin" and player ~= bloxxer then if player == sheriff then awardpoints(player, 4) elseif awardpoints(player, 2) end -- right here end end end
|
|
|
| Report Abuse |
|
| |
|
| 16 Feb 2015 03:30 PM |
>elseif on line 8.
Change it to else, or give it a function. Ex:
elseif player == noob then
but, i think you meant to just put "else" |
|
|
| Report Abuse |
|