Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function karambit() //Run this via input RunScriptCode and parameter ChangeViewModels()
- {
- local viewmodel = null;
- while(viewmodel = Entities.FindByClassname(viewmodel, "predicted_viewmodel")) //Search through all entities of the type "predicted_viewmodel"
- {
- //Lets you set the model by it's path.
- //The model must be loaded already or the game will crash!
- viewmodel.SetModel("models/weapons/v_knife_karam.mdl");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement