Username
Password
From what Master Camper says level 3 regen for medic heals 1 hp every 2-3 seconds. Level 1 and 2 do nothing(other people are getting the same result.)
public PlayerHurt(Handle:event, const String:name[], bool:dontBroadcast){ new Victim = GetClientOfUserId(GetEventInt(event, "userid")); new Attacker = GetClientOfUserId(GetEventInt(event, "attacker")); if(userClass[Victim] == 1 && userClassAbility[Victim] > 0){ if(RegenTimers[Victim] == INVALID_HANDLE){ RegenTimers[Victim] = CreateTimer(2.0, PlayerRegeneration, Victim); } }}
public Action:PlayerRegeneration(Handle:Timer, any:client){ intRegenHealth[client] = GetClientHealth(client); if(IsPlayerAlive(client)){ if (intRegenHealth[client] < clientHealthMax[client]) { SetEntData(client, FindDataMapOffs(client, "m_iHealth"), intRegenHealth[client] + intRegenAmount[client], 4, true); RegenTimers[Victim] = CreateTimer(2.0, PlayerRegeneration, Victim); } else { if (intRegenHealth[client] > clientHealthMax[client]){ SetEntData(client, FindDataMapOffs(client, "m_iHealth"), clientHealthMax[client], 4, true); } PrintToChat(client, "\x04[Zriot RPG]\x01: You have fully regenerated your health."); if (RegenTimers[client] != INVALID_HANDLE) { RegenTimers[client] = INVALID_HANDLE; KillTimer(RegenTimers[client]); } intRegenHealth[client] = -1; } }}
1 more tiny bug . When you join the servers and don't spawn alive it will often times load the stats of another player(my theory is it loads the player that you are spectating). But once you spawn at the start of a new round your normal stats willl load properly. With this I was able to change my secondary weapon to some level 10+ fellow's Deagle, even though I don't have it unlocked myself. You can also interact with their entire menu (Not sure if you can actually screw with their client-side stats though).
1)When you run over the health vials, it actually stops you for a quick second, so zombies usually get you.
2) This is more server side, on the map cs_italy, you can buy whatever gun you want in the buy zone.
3) More server side as well, there should be an advert with all the commands. I.e, #greenTo access rpg, type rpgmenu. The reason I say this is because nobody knows how to get into the kiosk.