Quote:
Originally Posted by [1337
MaVe ]
Quote:
Originally Posted by kaisersouse
I used GetPlayerState instead of IsPlayerInAnyVehicle because if you don't specify which seat position you could have drive-bys. The driver can still DB of course, so it might be worth removing weapons when a player enters the car.
Just some suggestions. Otherwise its a great idea.
|
Oh, didn't think about that. But maybe a check with GetPlayerWeaponData may fix the driver-driveby thing^^
EDIT: first post updated.
|
GetPlayerWeaponData is buggy, the ammo part of it is sometimes bugged and returns something higher than 9999 (not sure if this was fixed or not with 0.2X)