10.05.2012, 13:46
YES !!!!!!!!!!!!!!!!!!!
How I do that
I try this but have bags
OnPlayerText:
And if player answer to player:
How I do that
I try this but have bags
OnPlayerText:
PHP код:
if(HelperChat[playerid] == 1)
{
format(str,sizeof(str),"[HelperChat] Player %s[%d] || %s",GetName(playerid),playerid,text);
SendClientMessage(playerid,Orange,str);
if(IsPlayerHelper(playerid))
{
format(str,sizeof(str),"[HelperChat] Helper %s[%d] || %s",GetName(playerid),playerid,text);
SendClientMessage(playerid,Orange,str);
return 0;
}
}
PHP код:
HelperChat[playerid] 1 = HelperChat[id] = 1;