14.02.2011, 21:26
This is a pawn entity
Use strcat instead, https://sampwiki.blast.hk/wiki/Strcat
Or: (dont know if it works, just an idea)
If you got some time, feel free to test it, would be interesting to know if it works, as this would be much faster than strcat.
Basically, EOF is a symbol that tells pawn that the string is over here. Every string has this at the end, this is why
new txt[32];
could save a maximum of 31 chars.
Use strcat instead, https://sampwiki.blast.hk/wiki/Strcat
pawn Код:
strcat(pInfo[playerid][var1], "");
pawn Код:
pInfo[playerid][var1][0] = EOF;
//or
pInfo[playerid][var1][1] = EOF;
Basically, EOF is a symbol that tells pawn that the string is over here. Every string has this at the end, this is why
new txt[32];
could save a maximum of 31 chars.