Raised This Month: $57 Target: $400

Solved [DOD:s] Weapon the value of numbers

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Join Date: May 2018
Old 10-10-2018 , 11:23   [DOD:s] Weapon the value of numbers
Reply With Quote #1

Hello , I have a question , have this piece of code , there is a case for the conditions so my question is , how do you know the meaning of these numbers and what they mean. For example 35 and 36 that it is a value . And even I do not know where it is and where to look. Game day defeat source .
PHP Code:
if (GetConVarInt(Cvar_rules_mg_Enable) == 1)
weapon_pos GetEventInt(event"weapon")

switch (
35,36:   <---------------- value text event
health[MAXPLAYERS 1]
health[client] = GetClientHealth(client)
if (
health[client] > 5)
health[client] = health[client] - 5
PrintToChat(client"\x01\x04[Action]\x01 The jerking of your MG has caused you to hurt your arms because you had not deployed it before firing!")

text string values here : https://github.com/VSES/SourceEngine...od_gamestats.h
P.S. code is not my only example.

Last edited by mewbie222; 10-11-2018 at 11:43. Reason: Thanks and Sorry, I am Solved.
mewbie222 is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 03:12.

Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode