Is this a good idea?
#2

OnPlayerUpdate doesn't call the commands per second but per 100ms if i'm not wrong.

Edit: I saw your script after my answer.

pawn Код:
if(g_switch[playerid])
    {
        SendClientMessage(playerid, -1, "Update/sec..");
    }
1° I think this make no sense. In that case will update the message a lot every second when g_switch is called, but it must be called with true or false at the end.
2° return true / return false, is not equal to return 1 / return 0 .
Reply


Messages In This Thread
Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:17
Re: Is this a good idea? - by TheArcher - 17.09.2011, 19:18
Re: Is this a good idea? - by wouter0100 - 17.09.2011, 19:21
Re: Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:22
Re: Is this a good idea? - by TheArcher - 17.09.2011, 19:24
Re: Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:27
Re: Is this a good idea? - by wouter0100 - 17.09.2011, 19:28
Re: Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:30
Re: Is this a good idea? - by wouter0100 - 17.09.2011, 19:31
Re: Is this a good idea? - by TheArcher - 17.09.2011, 19:32

Forum Jump:


Users browsing this thread: 3 Guest(s)