26.04.2012, 00:03
pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new MinhaSkin = GetPlayerSkin(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520) // Coloque o modelo do caminhгo
{
if(MinhaSkin != 5 && MinhaSkin != 6 && MinhaSkin != 261 && MinhaSkin != 262)
{
SendClientMessage(playerid,-1,"Vocк nгo tem as skins permitidas");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, true);
}
}
return 1;
}