Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
[CS1.6/CZ] Natives Knife Range
Temat rozp. Adminek AMXX.PL, 03.07.2012 18:47
Brak odpowiedzi do tego tematu
#1
Napisano 03.07.2012 18:47
Description:This is a plugin to [re]set custom knife range for player.Natives: Code: //All natives will return false on client_connect, client_putinserver. So you need to set_task at least 0.2 seconds in client_putinserver//Get user swing range valuenative Float:get_user_swing_range(id)//Set user swing range valuenative set_user_swing_range(id, Float:value)//Get user stab range valuenative Float:get_user_stab_range(id)//Set user stab range valuenative set_user_stab_range(id, Float:value)//Reset user swing range valuenative reset_user_swing_range(id)//Reset user stab range valuenative reset_user_stab_range(id)Modules: Code: #include #include #include Credits: Code: FaiShardowMercylezzThis my first plugin, sorry if code is not good enough. Example plugin also included. Attached Files Get Plugin or Get Source (NativeKnifeRange.sma - 5.1 KB) Get Plugin or Get Source (TestKnifeRange.sma - 884 Bytes) kniferange.inc (654 Bytes)
Wyświetl pełny artykuł
Wyświetl pełny artykuł
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych