Small question
#7

Quote:
Originally Posted by i514x_
Посмотреть сообщение
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 Код:
OnPlayerDestroyVehicle(playerid, vehicleid)
OnPlayerShootingInVehicle(playerid, vehicleid)
that could be useful

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;
    }
}
That?
Reply


Messages In This Thread
Small question - by admantis - 31.10.2010, 04:17
Re: Small question - by zack3021 - 31.10.2010, 05:34
Re : Small question - by admantis - 31.10.2010, 05:39
Re: Small question - by i514x - 31.10.2010, 05:44
Re: Small question - by admantis - 31.10.2010, 05:46
Re: Small question - by i514x - 31.10.2010, 05:49
Re: Small question - by admantis - 31.10.2010, 06:02
Re: Small question - by i514x - 31.10.2010, 06:07
Re: Small question - by admantis - 31.10.2010, 06:17
Re: Small question - by i514x - 31.10.2010, 06:27

Forum Jump:


Users browsing this thread: 1 Guest(s)