Need help with my payday function.
#3

This whole loop is wrong.

Код:
for(new i; i < MAX_PLAYERS && IsPlayerConnected(i); i++)
If ID 0 isn't connected, no one gets payday!
You need to pass that cycle with continue when a player isn't connected.

Other than that, sounds like a crash, run crashdetect plugin with your code and come back with results if any.
Reply


Messages In This Thread
Need help with my payday function. - by danielpalade - 14.09.2016, 22:21
Re: Need help with my payday function. - by PrawkC - 14.09.2016, 22:35
Re: Need help with my payday function. - by PrO.GameR - 15.09.2016, 01:37
Re: Need help with my payday function. - by danielpalade - 15.09.2016, 14:53
Re: Need help with my payday function. - by danielpalade - 15.09.2016, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)