31.10.2010, 06:02
Quote:
no cos you cant get the id of a player that shoot the plane, ask kye/kalcor to do a callback like that then you could do that
pawn Код:
This forum requires that you wait 120 seconds between posts. Please try again in 38 seconds. |
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))
{
new veh = GetVehicleModel(GetPlayerVehicleID(playerid));
if (veh == 476)
{
SendClientMessage(playerid,COLOR,"Your in a Rustler and shooting.");
}
else return 0;
}
}