wtoj
(wtoj)
1
Hi, i am scripting a card game, and i wanted to check that both players played their cards, but when i compare the values of the cards i got an issue
print(partida.primeraMano.oponenteCarta.Value)
--0
print(partida.primeraMano.oponenteCarta.Value ~= 0)
--true
print(0 ~= 0)
--false
i don’t know what i’m doing wrong
What type of instance value are you using
wtoj
(wtoj)
3
OMG, i forgot i was using a string value instead of a numbervalue, thanks for the reply
system
(system)
Closed
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.