11.06.2012, 22:02
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(Nitro(vehicleid))
{
AddVehicleComponent(vehicleid, 1010);
}
if((vehicleid >= GroveCars[0]) && (vehicleid <= GroveCars[2]))
{
if(gTeam[playerid] == Grove)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, -1, "Vo");
}
}
return 1;
}