11.03.2012, 21:21
Change
to
"shadows ..." = variable already defined
Код:
public OnPlayerText(playerid, text[]) { new name[24], str[128]; GetPlayerName(playerid, name, 24); format(str, sizeof(str), "%s says: %s", name, text); ProxDetector(10.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5); return 0; }
Код:
public OnPlayerText(playerid, text[]) { new name[24], strOPT[128]; GetPlayerName(playerid, name, 24); format(strOPT, sizeof(strOPT), "%s says: %s", name, text); ProxDetector(10.0, playerid, strOPT, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5); return 0; }