Converting to zcmd
#6

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
PHP код:
if(!strcmp(option"red"true)) 
This line will always return 1, ie, The strings will never be the same. Because the string option is empty. And You are setting the option inside the if. So that code will never run. I don't know anything about roulette cuz' I haven't played the game at all. So If you could tell me what you are trying to do here, I will help
In the line you specified , i trying to see which option the player has choosen to bet on.. So say the player choose red(/bet red 1000). that line is the option otherwise if the player bet black(/bet black 1000)
Reply


Messages In This Thread
Converting to zcmd - by 1fret - 11.04.2017, 18:09
Re: Converting to zcmd - by DarkSkull - 11.04.2017, 18:12
Re: Converting to zcmd - by Sew_Sumi - 11.04.2017, 18:49
Re: Converting to zcmd - by 1fret - 11.04.2017, 19:40
Re: Converting to zcmd - by DarkSkull - 11.04.2017, 22:10
Re: Converting to zcmd - by 1fret - 11.04.2017, 22:42
Re: Converting to zcmd - by DarkSkull - 11.04.2017, 22:55
Re: Converting to zcmd - by 1fret - 11.04.2017, 23:17
Re: Converting to zcmd - by DarkSkull - 11.04.2017, 23:24
Re: Converting to zcmd - by Sew_Sumi - 12.04.2017, 00:14

Forum Jump:


Users browsing this thread: 1 Guest(s)