26.04.2012, 00:03
pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new vehicleid = GetPlayerVehicleID(playerid):
if(vehicleid == (id dos caminhoes)
{
new MinhaSkin = GetPlayerSkin(playerid);
if(MinhaSkin != 5 && MinhaSkin != 6 && MinhaSkin != 261 && MinhaSkin != 262)
{
SendClientMessage(playerid,-1,"Vocк nгo tem as skins permitidas");
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}