12.01.2015, 19:42
pawn Код:
stock SendPlaneMessage(color, string[])
{
new playerid;
new carid = GetPlayerVehicleID(playerid);
foreach(Player, i)
{
if(IsPlayerLoggedIn(i) && IsModelAPlane(carid) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
{
SendClientMessage(i, color, string);
}
}
return 1;
}