[DUV] Shotgun Bug.
#10

Amigos isso й do prуprio GTA seria impossнvel bloquear isso vocкs podem tentar da seguinte forma:

pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == id) && (GetPlayerWeapon(playerid) ==25) // ID DO CARRO AQUI
{
new arma; balas;
GetPlayerWeaponData(playerid,35,arma,balas);
GivePlayerWeapon(playerid,arma,balas-5); //Retira 5 Balas
}
}
Agora ao entrar no veнculo definido e for a arma definida (Carro Policia & Shotgun) ele irб Getar as Balas da Shotgun e retirar 5 balas..

Nгo tenho certeza pois estou a tempos sem codar, mesmo assim tente...
Reply


Messages In This Thread
[DUV] Shotgun Bug. - by VitorMondim - 09.07.2010, 13:30
Re: [DUV] Shotgun Bug. - by Flavinho153 - 09.07.2010, 13:45
Re: [DUV] Shotgun Bug. - by KrZ7 - 09.07.2010, 14:18
Re: [DUV] Shotgun Bug. - by BiieL - 09.07.2010, 14:24
Re: [DUV] Shotgun Bug. - by Data_Base - 09.07.2010, 16:11
Re: [DUV] Shotgun Bug. - by StreetGT - 09.07.2010, 16:26
Re: [DUV] Shotgun Bug. - by zSuYaNw - 09.07.2010, 16:54
Re: [DUV] Shotgun Bug. - by StreetGT - 09.07.2010, 17:14
Re: [DUV] Shotgun Bug. - by zSuYaNw - 09.07.2010, 17:19
Re: [DUV] Shotgun Bug. - by ipsBruno - 10.07.2010, 02:55

Forum Jump:


Users browsing this thread: 2 Guest(s)