SA-MP Forums Archive
Why my gametext dont show full? - 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: Why my gametext dont show full? (/showthread.php?tid=331878)



Why my gametext dont show full? - Admigo - 06.04.2012

Heey all,

I made a gametext with a string but when i show it i only see:
Код:
attempt to rape admigo
Why i dont see the whole text?
Код:
new string4[256];
		format(string4,sizeof(string4),"~r~Attempt To Rape %s Failed! ",PlayerName(ID));
		GameTextForPlayer(playerid,string4,3000,5);
How can i fix this?
I dont see anything wrong here,

Thanks Admigo


Re: Why my gametext dont show full? - DR3AD - 06.04.2012

Код:
new name[24];
new string4[256];
GetPlayerName(playerid, name, sizeof(name));
format(string4, sizeof(string4), "~r~Attempt To Rape %s Failed! ", name);
GameTextForPlayer(playerid, string4, 3000, 5);
Try it this way
Actually, I dont see anything wrong there too