Some questions
#1

Hello.

1. Which type is better for optimization?

a.
HTML Code:
new Variable[MAX_PLAYERS] = 0;
b.
HTML Code:
 new Variable[MAX_PLAYERS];
    public OnPlayerConnect(playerid)
   {
        Variable[playerid] = 0;
        return 1;
   }
2. What's the difference between stock and public. Which type is better for optimization?

3. Textraws must be placed in OnPlayerConnect or OnGameModeInit for a good optimization?

Thanks!
Reply


Messages In This Thread
Some questions - by Nin9r - 16.06.2016, 07:56
Re: Some questions - by Vince - 16.06.2016, 08:05
Re: Some questions - by Nin9r - 16.06.2016, 08:16
Re: Some questions - by xTURBOx - 16.06.2016, 09:20
Re: Some questions - by Dayrion - 16.06.2016, 09:23

Forum Jump:


Users browsing this thread: 1 Guest(s)