str shadows problem
#3

Change
Код:
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;
}
to
Код:
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;
}
"shadows ..." = variable already defined
Reply


Messages In This Thread
str shadows problem - by iStrow - 11.03.2012, 21:02
Re: str shadows problem - by captainjohn - 11.03.2012, 21:20
Re: str shadows problem - by IstuntmanI - 11.03.2012, 21:21
Re: str shadows problem - by [ABK]Antonio - 11.03.2012, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)