gokalpfirat Posted June 17, 2011 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.
JR10 Posted June 17, 2011 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 Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Castillo Posted June 17, 2011 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 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
gokalpfirat Posted June 17, 2011 Author Posted June 17, 2011 Thanks but now im getting unexpected symbol near ',' outputChatBox("#00cc00Winner"..getPlayerName(player).. , getRootElement(),0,255,0,true)
Castillo Posted June 17, 2011 Posted June 17, 2011 outputChatBox("#00cc00Winner"..getPlayerName(player), getRootElement(),0,255,0,true) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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