0.3c text 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: 0.3c text bug (
/showthread.php?tid=208426)
0.3c text bug -
andershh - 08.01.2011
Alright, I just fixed my errors and finally got ingame, but I cant chat normally. My name does not appear in the chat box and im not sure if anyone can see it.
The text appears like this.
>> test
>> helooo
>> aisjifasfjaw
Theres no names infront of it or something. Is that a bug, or can I fix it somehow by adding the Playername infront of it like..
Sammy_Rocka: Yoyoyo
Re: 0.3c text bug -
Faraday - 08.01.2011
Show your OnPlayerText code, this bug has nothing to do with SA:MP or the release of 0.3c because chatbox works normally. The bug will probably be in your script.
Re: 0.3c text bug -
andershh - 08.01.2011
Код:
public OnPlayerText(playerid, text[])
{
new giver[MAX_PLAYER_NAME];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new tmp[256];
new string[256];
new giveplayerid;
new str[160];
GetPlayerName(playerid, str, MAX_PLAYER_NAME);
for (new i = 0; i < MAX_PLAYER_NAME; i++)
if (str[i] == '_')
str[i] = ' ';
if(PlayerInfo[playerid][pMuted] == 1)
Re: 0.3c text bug -
andershh - 08.01.2011
sorry i solved it it was an fs