16.06.2011, 18:31
pawn Код:
// Put this somewhere in your FS/GM, aslong its not inside { }
SendCarMessage(carid, color, text[])
{
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInVehicle(i, carid) && IsPlayerConnected(i))
{
SendClientMessage(i, color, text);
}
}
return 0;
}
//In your command add this:
SendCarMessage(carid, color, text[])