12.04.2009, 11:56
This is the code of the realchat ''says'' function:
Код:
} if (realchat) { if(gPlayerLogged[playerid] == 0) { return 0; } if(!IsPlayerInAnyVehicle(playerid) || IsABike(GetPlayerVehicleID(playerid))) { format(string, sizeof(string), "%s says: %s", GetPlayerNameEx(playerid), text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); TalkLog(string); } } return 1; }