Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //no OnPlayerStateChange:
- if(newstate == PLAYER_STATE_DRIVE && 596 <= GetVehicleModel(GetPlayerVehicleID(playerid)) <= 599)
- {
- new arma[12], municao[12];
- for(new i = 0; i != 12; i++)
- {
- GetPlayerWeaponData(playerid, i, arma[i], municao[i]);
- if(arma[i] == 25)
- municao[i] -= 5;
- }
- ResetPlayerWeapons(playerid);
- for(new i = 0; i != 12; i++)
- GivePlayerWeapon(playerid, arma[i], municao[i]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement