Car Whisper
#3

I suggest making it into a callback...
Example:
pawn Code:
forward SendCarMessage(color, string[]);

public SendCarMessage(color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
    if(IsPlayerConnected(i))
      {
        if(IsPlayerInVehicle(i, GetPlayerVehicleID(i)))
            {
            SendClientMessage(i, color, string);
            }
      }
    }
}
Reply


Messages In This Thread
Car Whisper - by FreeSoul - 30.05.2009, 14:41
Re: Car Whisper - by Lewwy - 30.05.2009, 14:52
Re: Car Whisper - by Castle - 30.05.2009, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)