stock error
#1

Hello, I have a problem, my stock is not working, do not know why, it is no more runs .. please someone?

PHP код:
payday()
{
    for (new 
0MAX_PLAYERSi++)
    {
        
SalarioGoverno(); //execute
    
}
}
stock SalarioGoverno()
{
    for (new 
0MAX_PLAYERSi++)
    {
    }
    return 
1;

Reply
#2

Hello!

Firstly you have to write it so:
PHP код:
payday() 

     
SalarioGoverno(); //execute 

Because you will start a loop in this function again and this loop start this function MAX_PLAYERS times.

Well. Now to your problem: What isn't working in your function? Can you explain this problem exactly?


- Mencent
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)