28.04.2010, 21:12
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "$mb", true))
{
format(string,sizeof(string),"%d Mystery Bags Found", PlayerInfo[playerid][MysteryBagsFound]);
strreplace("$mb", string, text);
}
return 1;
}
First time with strreplace, so yeah, I could need some help