Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. --! CAX 5
  2.  
  3. -- Called when a player has spawned.
  4. function PLUGIN:PlayerSpawn(player)
  5. player:SetupHands();
  6. end;
  7. -- Called when a player's character has initialized.
  8. function PLUGIN:PlayerCharacterInitialized(player)
  9. timer.Simple(1, function()
  10. local hands = player:GetHands();
  11. if (IsValid(hands)) then
  12. if (Schema:GetName() == "HL2 RP" and Schema:PlayerIsCombine(player)) then
  13. hands:ClockworkSetModel("models/weapons/c_arms_combine.mdl");
  14. else
  15. hands:ClockworkSetModel("models/weapons/c_arms_citizen.mdl");
  16. end;
  17. end;
  18. end);
  19. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement