SA-MP Forums Archive
String bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: String bug (/showthread.php?tid=218362)



String bug - Lorenc_ - 30.01.2011

Hey guys i created a string:

pawn Код:
format(string, sizeof(string), "RANK: %i~n~PRESTIGE: %i~n~XP: %i~n~KILLS: %i~n~DEATHS: %i", GetPVarInt(playerid, "Rank"), GetPVarInt(playerid, "Prestige"), GetPVarInt(playerid, "Xp"), GetPVarInt(playerid, "Kills"), GetPVarInt(playerid, "Deaths"));
and that string displays



Idk why although it worked before.

But if i remove Deaths from the string it works perfectly, has anyone had this cause, and fixed it?


Re: String bug - PeteShag - 30.01.2011

What's the cell size of the string?


Re: String bug - cessil - 30.01.2011

how big is the string?


Re: String bug - Lorenc_ - 30.01.2011

fairly big 256 -.- ill change it soon