Advertisement
DraKiNs

[COD] Detect Reload

Aug 8th, 2011
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.29 KB | None | 0 0
  1. forward OnPlayerReloading(playerid, weaponid, ammo);
  2.  
  3. public OnPlayerUpdate(playerid)
  4. {
  5.     if(GetPlayerWeaponState(playerid) == 3)
  6.     {
  7.                 CallLocalFunction("OnPlayerReloading", "ddd", playerid, GetPlayerWeapon(playerid), GetPlayerAmmo(playerid));
  8.     }
  9.     return true;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement