Posts: 242
Threads: 70
Joined: Aug 2015
Reputation:
0
Does it affect bad on your gamemode, if you for example have wrong numbers of cells?
Posts: 240
Threads: 5
Joined: Nov 2017
cell to small - sentence will be cut
cell to big - normal sentence, amx file will increase
Posts: 242
Threads: 70
Joined: Aug 2015
Reputation:
0
Yeah, but as far as i see it doesnt affect anything, why would people struggle on counting cells.
Posts: 242
Threads: 70
Joined: Aug 2015
Reputation:
0
Thanks got the point now, appreciated
Posts: 578
Threads: 40
Joined: Dec 2016
im just gonna go made a memory located variable with 899999999999999999999999 null cells, my cpu won't die at all.
srsly, what even is this questions, it doesnt even have to do anything with samp scriptin
Posts: 115
Threads: 2
Joined: Apr 2017
Reputation:
0
This PlayerName is static array ?
Is it possible to create dynamic array that sets the size from the: sizeof(PlayerName) ?
Posts: 6,242
Threads: 8
Joined: Jun 2008
What was a problem long ago was the old
Code:
SendClientMessage(playerid, 1, string);
Same as the name example above... Where playername is only 32+1 or something, SendClientMessage can only send 144 characters, so the 256 is a waste of space, unless you do some breaking up of long-lines function.
Posts: 319
Threads: 7
Joined: Jul 2012
Reputation:
0
It's the same as going to buy a 2-seat sofa.
When you use a Smart vehicle, the sofa won't fit in the trunk of that Smart. Same as trying to store a playername in a string of size 5, it won't fit in there as a playername can be up to 24 chars long.
On the other hand, using a string of size 128 to store that playername (which is max 24 chars long), is the same as renting a truck + trailer (like the GTA Roadtrain + Article trailer) to buy that sofa, while you would do fine with your car and a trailer.
Using that Roadtrain+trailer will do the job too, but it's just overkill.