hello, help with quick strings.
#6

hmm try this one
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "$cash") >= 0)
{
new str[100];
format(str, sizeof(str), "{ff0000}%s:{ffffff} %s", GetName(playerid), strreplace("$cash", GetPlayerMoney(playerid), text));
SendClientMessageToAll(-1, str);
return 0;
}
return 1;
}
Reply


Messages In This Thread
hello, help with quick strings. - by danish007 - 30.12.2014, 14:08
AW: hello, help with quick strings. - by CutX - 30.12.2014, 14:10
Re: hello, help with quick strings. - by Facerafter - 30.12.2014, 14:15
Re: hello, help with quick strings. - by BroZeus - 30.12.2014, 14:26
Re: hello, help with quick strings. - by danish007 - 30.12.2014, 14:31
Re: hello, help with quick strings. - by BroZeus - 30.12.2014, 14:36
Re: hello, help with quick strings. - by danish007 - 30.12.2014, 14:49
Re: hello, help with quick strings. - by BroZeus - 30.12.2014, 14:53
Re: hello, help with quick strings. - by leo9 - 30.12.2014, 14:58
Re: hello, help with quick strings. - by danish007 - 30.12.2014, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)