08.05.2013, 21:15
Example...
%s | %i | %s (HouseName, Price, Owner)
Max Housename size - logical 50 - 100 characters.
Price - 9 Characters.
Owner - 24 characters
100 + 9 + 24 = 133, just use this method most are predefined if your script is made clearly.. I often use my #defies and let the script do the maths...
new string[MAX_PLAYER_NAME * 2 + 8];
EDIT: I forgot to add 3 for each pace as spaces and | count, therefore the number for the example is 139.
%s | %i | %s (HouseName, Price, Owner)
Max Housename size - logical 50 - 100 characters.
Price - 9 Characters.
Owner - 24 characters
100 + 9 + 24 = 133, just use this method most are predefined if your script is made clearly.. I often use my #defies and let the script do the maths...
new string[MAX_PLAYER_NAME * 2 + 8];
EDIT: I forgot to add 3 for each pace as spaces and | count, therefore the number for the example is 139.