09.01.2013, 03:35
Well the title say it all, Where in the script can i find how to remove it? And how can I also apply the "talking" annimation when you say something?
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid, "MISC", "Idle_Chat_02", 4.1, 0, 1, 1, 1, 1);
}
stock strreplace(string[], find, replace)
{
for(new i=0; string[i]; i++)
{
if(string[i] == find)
{
string[i] = replace;
}
}
}
new name[24];
GetPlayerName(playerid, name, sizeof(name));
strreplace(name, '_', ' ');
new string[128];
format(string, sizeof(string), "%s",RPN(playerid));
SendClientMessage(playerid, -1, string);
stock GetPlayerNameEx(playerid)
{
new string[24];
GetPlayerName(playerid,string,24);
new str[24];
strmid(str,string,0,strlen(string),24);
for(new i = 0; i < MAX_PLAYER_NAME; i++)
{
if (str[i] == '_') str[i] = ' ';
}
return str;
}
ClearAnimations(playerid);