edited 1×, last 29.05.19 01:21:54 pm
Forum
News CS2D Beta 0.1.2.5edited 1×, last 29.05.19 01:20:55 pm
shadowshade_obstacle
shadowshade_wall
shadowz_obstacles
shadowz_wall
shadow_angle
shadow_frameskipping
It does not work or requires a more detailed description.
Bit is not clear why the values used during limits(angle 0-90 and etc), do I need a restart to update changed parameters?
DC (Source) has written
you actually can't get those values because the server isn't aware of the accurate ammo values.
the server only knows the maximum possible ammo amount a player still can have (based on the shoot-packets that arrived at the server) but the actual ammo value can differ (be slightly lower) in case a shoot-packet got lost. that's why these values are not revealed to the Lua scripting interface.
(in case a weapon is dropped the client determines the ammo which is in the dropped weapon. the server just checks if this value is lower or equal to the maximum possible ammo to make ammo hacks impossible)
the server only knows the maximum possible ammo amount a player still can have (based on the shoot-packets that arrived at the server) but the actual ammo value can differ (be slightly lower) in case a shoot-packet got lost. that's why these values are not revealed to the Lua scripting interface.
(in case a weapon is dropped the client determines the ammo which is in the dropped weapon. the server just checks if this value is lower or equal to the maximum possible ammo to make ammo hacks impossible)