Spawn issues
#4

ok lets think

id = 0

aha, good, the variable id is 0 now (like it was after creation)

now the statment which must be true for the loop execution

id >= 287

or at the first call

0 >= 287

and that statment looks logically false

so the result of this false statment is that the for loop never gets executed and your script never calls the function AddPlayerClass

How to solve ? Just change the "bigger as" operator to a "smaller as" one
Reply


Messages In This Thread
Spawn issues - by biltong - 11.02.2010, 16:54
Re: Spawn issues - by TTJJ - 11.02.2010, 16:56
Re: Spawn issues - by biltong - 11.02.2010, 16:59
Re: Spawn issues - by Nero_3D - 11.02.2010, 17:02
Re: Spawn issues - by biltong - 11.02.2010, 17:16
Re: Spawn issues - by Nero_3D - 12.02.2010, 15:32
Re: Spawn issues - by biltong - 12.02.2010, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)