01.06.2009, 10:46
stock SendCarMessage(playerid, string [], color12)
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerInVehicle(i, GetPlayerVehicleID(playerid)))
{
SendClientMessage(i, color12, string);
}
}
return 1;
}
This function is for car messages. I wanna hear the player's writing, who inside in player's car. But this function not working. Thanks.
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerInVehicle(i, GetPlayerVehicleID(playerid)))
{
SendClientMessage(i, color12, string);
}
}
return 1;
}
This function is for car messages. I wanna hear the player's writing, who inside in player's car. But this function not working. Thanks.