Quote:
Originally Posted by PT
PHP код:
// Anti-Roubo
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
SendClientMessage(playerid, Vermelho, "[AVISO]{FFFFFF} Nгo tente roubar veнculos, vocк morrerб automaticamente{FF0000}.");
SendClientMessage(playerid, Vermelho, "[AVISO]{FFFFFF} Para ver os Comandos do Veiculo digite {FF0000}/vctrl");
SendClientMessage(playerid, Vermelho, "[AVISO]{FFFFFF} Usamos ANTI-HACK de SpeedHack, Velocidade Permitida e {FF0000}[400-KM/H].");
if(playerid != ispassenger && IsVehicleOccupied(vehicleid))
{
AddVehicleComponent(vehicleid, 1010);
SetPlayerHealth(playerid,0.0);
}
return 1;
}
|
o erro aparece na stock pt