Check Textdraw Box Object
#1

Helo!
I make a slots machine system and i wanna try something.
If first box object is "69" to write in chat "First textdraw is 69"

PHP Code:
if(PlayerText:linia11 == "LD_SLOT:r_69")
{            
SendClientMessage(playerid, -1"First textdraw box is 69");
diagonala[playerid] = 0;

I make this IF but i get this error, i don't think is good the IF
PHP Code:
includes/slotsmachine.inc(844) : error 033: array must be indexed (variable "-unknown-"
I try something like that but this is show now
PHP Code:
if(linia11 == strcmp("PLD_SLOT:r_69","LD_SLOT:r_69"))
 
warning 213tag mismatchexpected tag "PlayerText"but found none ("_"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)