|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[appleeaters]randomsleft always zero?
I just started playing with the new robotslib and generator files, and I noticed that "randomsleft" was left out and is always appearing as zero. Something like $randomsleft=mt_rand(0,5);
needs to be added somewhere, I think. |
|
#2
|
|||
|
|||
|
[appleeaters]RE: randomsleft always zero?
Yeah it needs to be added to the generator.php
Also in generator.php is this line: $text.="randomsleft ".($game["randomsleft"]+0)."n"; Which if I'm not mistaken won't work because generator.php doesn't have access to the $game variable. |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [appleeaters]randomsleft always zero? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|