15.08.2010, 14:35
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (GetVehicleModel(vehicleid) == 432) //Sets the players skin upon entering the rhino
{
SetPlayerSkin(playerid, 287);
return 1;
}
}
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if (GetVehicleModel(vehicleid) == 432)
{
SetPlayerSkin(playerid, skin); //Replace skin with the skin you want them to have upon exiting the rhino
return 1;
}
}