11.03.2012, 09:42
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Model = GetVehicleModel(vehicleid);
if(Model == 427 && !ispassenger)
{
GetPlayerArmour(playerid, StoreArmour[playerid]);
}
if(PlayerTied[playerid] != 0) { ClearAnimations(playerid); }
if(PlayerCuffed[playerid] != 0) { ClearAnimations(playerid); }
return 1;
}