RSSy MYGO.pl Opublikowano Kwiecień 28, 2017 o 19:53 RSSy Udostępnij Opublikowano Kwiecień 28, 2017 o 19:53 Installation: server/cfg/sourcemod/plugins/sm_setammo.smxCommands: sm_setammo arg1 arg2 arg3 arg4 arg5Usage: Command "sm_setammo" is a server-side, therefore must be used in the server console. 1st argument - client index (1-32); 2nd argument - weapon slot, primary or secondary (0, 1); 3rd argument - clip size; 4th argument - ammo; 5th argument - clip size of upgrade ammo. Example of usage in "Func_Timer" of Speedrunner Tools addon: Code: hPlayer.GiveItem("pumpshotgun"); SendToServerConsole("sm_setammo " + hPlayer.GetEntityIndex() + " 0 5 10"); NOTE: Before adding number of upgrade ammo, it is necessary to have it in your weapon.Links: Speedrunner Tools: http://steamcommunity.com/sharedfile.../?id=510955402 Attached Files Get Plugin or Get Source (sm_setammo.sp - 3.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się