18.03.2010, 15:11
pawn Код:
if (realchat)
{
if(gPlayerLogged[playerid] == 0)
{
return 0;
}
if(IsPlayerInAnyVehicle(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s Says: %s", sendername, text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}
else
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s Says: %s", sendername, text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
//ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,0,0,1,1);
}
return 0;
}
sorry for the request but i cannot get that working that command is new to me I've tried everything on wiki... still cant.. thanks for your time a nd help.