Stupid Problem With Game Text - 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)
+--- Thread: Stupid Problem With Game Text (
/showthread.php?tid=415824)
Stupid Problem With Game Text -
ReDevilGames - 14.02.2013

The white writing is a string got from:
PHP код:
format(OwnerPickup[House1],sizeof(OwnerPickup),dini_Get("/Global/HouseOwners.txt","House1"));
But the name "Alfonso_Turner", appear truncated as shown in the picture (Alfonso_Tu) WTF?
Why this problem?
This is the snippet I use for the pickup:
PHP код:
if (pickupid == HousePickup[House1])
{
new String[128]; format(String,sizeof(String),"~y~Casa: Numero 1~n~~b~Proprietario: ~w~%s~n~~g~Costo: $50.000~n~~n~~r~Premi TAB per comprare la casa",OwnerPickup[House1]);
GameTextForPlayer(playerid,String,3000,5);
return 1;
}
Re: Stupid Problem With Game Text -
MP2 - 14.02.2013
Perhaps the string is too long. Increase the array size.