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