What's wrong [1 line makes OnPlayerText function fail]
#3

Quote:
Originally Posted by Coicatak
pawn Код:
if(Mobile[playerid] != 255)
{
    new idx;
    tmp = strtok(text, idx);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    UnderscoreToSpace( sendername );
    format(string, sizeof(string), "%s (tйlйphone): %s", sendername, text);
    ProxDetector(20.0, playerid, string, color, color, color, color, color);
    new situation[MAX_PLAYERS][256];
    new string2[256];
    //Blabla and then (at a lower level)
         strmid(situation[playerid], text, strlen(text), 256);
    //BLABLA
    return 1;
}
strmid(situation[playerid], text, 0, strlen(text), 255);


Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)