Advertisement
WH1SKEY

Untitled

Sep 9th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
  2. {
  3.     //if(weaponid == 24 && hittype == 3 && hitid == 18)
  4.     if(weaponid == 24)
  5.     {
  6.         if(Player[playerid][pSkill][0] != 100)
  7.         {
  8.             Player[playerid][pSkill][0]++;
  9.             SetPlayerDrunkLevel(playerid, 1000);
  10.             SetTimerEx("DCP", 100, false, "i", playerid);
  11.             printf("%d", Player[playerid][pSkill][0]);
  12.         }
  13.     }
  14.     return true;
  15. }
  16.  
  17. @_DCP(playerid);
  18. @_DCP(playerid)
  19.     return SetPlayerDrunkLevel(playerid, 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement