Strings help
#1

Hey all,

I want to know how to know what string I have ti put so can I script good, like:
Код:
new cmd[20];
not
Код:
new cmd[256];
and like this, what is the difference?
Reply
#2

What is in the '[' and ']' is your Cell amount. In SA:MP/Pawn 1 cell = 1 character. 128 Cells is the size of every chat line in the SA:MP Chat.

128 is the most efficient when you do not know what to put, as most strings wont reach over 128 cells. Though textdraws use over 1000 cells.

So yeh. Thats just a basic information.

Wiki - Strings
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)