About string size cell numbers.
#4

Quote:
Originally Posted by wallen
View Post
Does it affect bad on your gamemode, if you for example have wrong numbers of cells?
Yes,

Here's a simple compare:

1- BAD:
PHP Code:
new PlayerName[128];
GetPlayerName(playeridPlayerNamesizeof(PlayerName)); 
2- GOOD:
PHP Code:
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playeridPlayerNamesizeof(PlayerName)); 
Because you're leaving that big array unused taking up space irrelevantly, why? it's really messy when people do random string[256] or string[128] for no absolute reason when it only needs 20/80 at the most.

It does, accumulating the unused variables/arrays building up is going to leave you with a big compiled file and longer time to compile, why?
Reply


Messages In This Thread
About string size cell numbers. - by wallen - 10.03.2018, 10:03
Re: About string size cell numbers. - by rfr - 10.03.2018, 10:06
Re: About string size cell numbers. - by wallen - 10.03.2018, 10:16
Re: About string size cell numbers. - by RogueDrifter - 10.03.2018, 10:16
Re: About string size cell numbers. - by wallen - 10.03.2018, 10:22
Re: About string size cell numbers. - by Meller - 10.03.2018, 12:26
Re: About string size cell numbers. - by wallen - 10.03.2018, 13:54
Re: About string size cell numbers. - by Spmn - 10.03.2018, 19:32
Re: About string size cell numbers. - by VeryTallMidget - 10.03.2018, 20:15
Re: About string size cell numbers. - by Sew_Sumi - 10.03.2018, 22:35
Re: About string size cell numbers. - by SyS - 11.03.2018, 00:34
Re: About string size cell numbers. - by AmigaBlizzard - 05.05.2018, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)