Payday not working properly
#2

PHP код:
for(new 0MAX_PLAYERSi++) 
I don't know why you used -1.

While using a for loop, The loop starts from the value you assign to the variable. When you assign -1, It checks for a player with ID: -1

Also I'm pretty sure you don't need the colon after public

PHP код:
public PayDay()

Reply


Messages In This Thread
Payday not working properly - by GunZsmd - 14.08.2016, 14:32
Re: Payday not working properly - by DarkSkull - 14.08.2016, 14:48
Re: Payday not working properly - by GunZsmd - 14.08.2016, 15:06
Re: Payday not working properly - by GunZsmd - 14.08.2016, 15:17
Re: Payday not working properly - by Dice_ - 14.08.2016, 15:24
Re: Payday not working properly - by GunZsmd - 14.08.2016, 15:28
Re: Payday not working properly - by GunZsmd - 14.08.2016, 15:36
Re: Payday not working properly - by GunZsmd - 14.08.2016, 18:13
Re: Payday not working properly - by GunZsmd - 14.08.2016, 18:48
Re: Payday not working properly - by WhiteGhost - 14.08.2016, 18:50

Forum Jump:


Users browsing this thread: 2 Guest(s)