[Ajuda] TEXTDRAW BUGADO
#5

Manda ela aн pra mim.

Acho que algumas funзхes tuas tгo inъteis ali (GetPlayerGrana) e aparentemente tб bugado porque vocк tem $500 na mгo e ali tб dizendo que vocк tem 0 de dinheiro.

Tem essa funзгo aqui de um gamemode de roleplay:
Code:
ReturnName(playerid, underscore=1)
{
	static
	    name[MAX_PLAYER_NAME + 1];

	GetPlayerName(playerid, name, sizeof(name));

	if (!underscore) {
	    for (new i = 0, len = strlen(name); i < len; i ++) {
	        if (name[i] == '_') name[i] = ' ';
		}

	return name;
}
Aн vocк substitui o PlayerName pra ReturnName(playerid, 0);

Se vocк quiser que apareзa "_" em nomes e outros caracteres, acho que deves utilizar a funзгo nativa GetPlayerName e a funзгo nativa GetPlayerMoney.
Reply


Messages In This Thread
TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 22:44
Re: TEXTDRAW BUGADO - by Diggie - 10.09.2018, 22:49
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 22:50
Re: TEXTDRAW BUGADO - by GuiKommander - 10.09.2018, 22:51
Re: TEXTDRAW BUGADO - by Diggie - 10.09.2018, 22:58
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 23:01
Re: TEXTDRAW BUGADO - by GuiKommander - 10.09.2018, 23:10
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 23:12
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 23:23
Re: TEXTDRAW BUGADO - by GuiKommander - 10.09.2018, 23:34
Re: TEXTDRAW BUGADO - by Diggie - 10.09.2018, 23:39
Re: TEXTDRAW BUGADO - by LeonardoMD - 11.09.2018, 22:16
Re: TEXTDRAW BUGADO - by AutoMatic2 - 11.09.2018, 23:09
Re: TEXTDRAW BUGADO - by wearLy - 12.09.2018, 04:21
Re: TEXTDRAW BUGADO - by LeonardoMD - 12.09.2018, 22:44
Re: TEXTDRAW BUGADO - by ipsLuan - 12.09.2018, 22:57
Re: TEXTDRAW BUGADO - by LeonardoMD - 12.09.2018, 23:01
Re: TEXTDRAW BUGADO - by AutoMatic2 - 12.09.2018, 23:16
Re: TEXTDRAW BUGADO - by ipsLuan - 12.09.2018, 23:23
Re: TEXTDRAW BUGADO - by AutoMatic2 - 13.09.2018, 00:23
Re: TEXTDRAW BUGADO - by LeonardoMD - 14.09.2018, 21:51
Re: TEXTDRAW BUGADO - by LeonardoMD - 14.09.2018, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)