working xp mod tutorial
EDIT:
Ignore what I said before I have a better idea. Can somebody make a tutorial explaining how to perhaps give each gun a level or something? For example you kill somebody with an m4, and you get an "m4 point" and so on. Each time you get enough points for a certain gun, you level up and get upgrades for the gun. Good idea but. . is it possible? how? |
Re: working xp mod tutorial
Quote:
These: - Get bonus XP if you get a headshot, and also a knife kill. - Make classes to choose from - Have levels for each class - Save/Load exp on disconnect/connect Are already in: http://forums.alliedmods.net/showthread.php?t=66497 |
Re: working xp mod tutorial
Quote:
big post edit above |
Re: working xp mod tutorial
Well you could do it like this:
PHP Code:
|
Re: working xp mod tutorial
i edit the tutorial code fast just to fix the errors sense the tutorial maker doesn't maintain it.
PHP Code:
|
Re: working xp mod tutorial
fxfighter you can make to salve xp with name?
|
Re: working xp mod tutorial
shoud just need to replace the
PHP Code:
do it in both save and load function |
Re: working xp mod tutorial
tnx man, need .dat?
|
Re: working xp mod tutorial
hey fxfighter your code works flawlessly
ps: nooby question here, but can you show me how to: - hook round start function and do a check for roundstart to 1) check their class and that class's exp? Because I want to give them bonuses every round start if they are high enough level in the right class. Thanks :) |
Re: working xp mod tutorial
for roundstart you could use HLTV , but you can also use hamsandwich to hook the spawn
|
| All times are GMT -4. The time now is 03:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.