Advertisement
Guest User

Untitled

a guest
Jun 15th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public OnClientPutInServer(client)
  2. {
  3. SDKHook(client, SDKHook_WeaponCanUse, OnWeaponCanUse);
  4. }
  5.  
  6. public Action:OnWeaponCanUse(client, weapon)
  7. {
  8. if(GetClientTeam(client) == 3)
  9. {
  10. return Plugin_Continue;
  11. }
  12. return Plugin_Handled;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement