0.3c text bug
#1

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
Reply
#2

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.
Reply
#3

Код:
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)
Reply
#4

sorry i solved it it was an fs
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)