24.05.2014, 09:49
PHP код:
new message[144];
if(enabledtalk)
{
return 1;
}
else if(!enabledtalk)
{
format(message, sizeof(message), "%s says: %s", GetOOCName(playerid), text);
NearMessageSender(playerid, 5, message, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1, 1,1,time);
return 0;
}
return 1;
}