gokalpfirat Posted June 17, 2011 Share Posted June 17, 2011 function taskagitmakas ( player, commandName, tkm ) local rand = math.random(0,2) local oynanan = bilinmeyen if tkm == tas then local oynanan == tas elseif tkm == kagit then local oynanan == kagit elseif tkm == makas then local oynanan == makas end When i debug it i got an error unexpected symbol near == line 6. Link to comment
JR10 Posted June 17, 2011 Share Posted June 17, 2011 function taskagitmakas ( player, commandName, tkm ) local rand = math.random(0,2) local oynanan = bilinmeyen if tkm == tas then local oynanan = tas elseif tkm == kagit then local oynanan = kagit elseif tkm == makas then local oynanan = makas end Link to comment
Castillo Posted June 17, 2011 Share Posted June 17, 2011 function taskagitmakas ( player, commandName, tkm ) local rand = math.random(0,2) local oynanan = bilinmeyen if tkm == tas then local oynanan = tas elseif tkm == kagit then local oynanan = kagit elseif tkm == makas then local oynanan = makas end end Link to comment
gokalpfirat Posted June 17, 2011 Author Share Posted June 17, 2011 Thanks but now im getting unexpected symbol near ',' outputChatBox("#00cc00Winner"..getPlayerName(player).. , getRootElement(),0,255,0,true) Link to comment
Castillo Posted June 17, 2011 Share Posted June 17, 2011 outputChatBox("#00cc00Winner"..getPlayerName(player), getRootElement(),0,255,0,true) 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