02.07.2014, 01:32
pawn Код:
CMD:g(playerid, params[])
{
new texto[126],data[178];
if(sscanf(params, "s[126]", texto)) return ParamsINC(playerid,"/g [ GRITO ]"),1;
format(data, sizeof(data), " %s Grita: Ў %s !",NombreJugador(playerid), texto);
ProxDetector(60.0, playerid, data,-1,-1,-1,-1,-1);
SetPlayerChatBubble(playerid,texto,0x7BDA00FF,60,strlen(texto) * 300);
ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1,0,1,1,1,1,true);
#if LOG_CHAT == true
printf("[ /g ] %s: %s", NombreJugador(playerid),texto);
#endif
return true;
}