Stupid Problem With Game Text
#1


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;

Reply
#2

Perhaps the string is too long. Increase the array size.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)