Hello! I have started learning scripting some time ago, but I never really tried scripting stuff from scratch. Well, the last few days I have. So, I am now trying to do a Deathrun VIP plugin, as I wish using my own one. What it is suposed to do: /vip - gives a VIP 600 speed. /vipoff - sets the VIP's speed back to default. I got that figured easily. Too bad I can't seem to figure out how to get it to stay. I mean... remain 600 after changing the weapon. Also, the plugin should set VIPS skins. I don't yet know if that is going to happen, as I did not get to test the skins part.
So if you could please look in my code... So what I need is that speed stabillity. Plus, I'd really appreciate it if you could also check my code for setting those skins, ah I have no idea if I did it right.
Oh, and one other question: what's the difference between setting the user's speed by pev_maxspeed or by set_user_maxspeed? Is one of them more appropriate?
Thank you so much for your help!
PS: Please go easy on me, I'm a rookie.
Here's my code: