RSSy MYGO.pl Opublikowano Kwiecień 29, 2017 o 11:51 RSSy Udostępnij Opublikowano Kwiecień 29, 2017 o 11:51 Hud Write V 1.0 Command :!hwrite <TEXT>Screen Shots :Script : PHP Code: #pragma semicolon 1 #define DEBUG #define PLUGIN_AUTHOR "Mithat Guner" #define PLUGIN_VERSION "1.00" #include <sourcemod> #include <sdktools> public Plugin myinfo = { name = "HUD Write", author = PLUGIN_AUTHOR, description = "HUD Write", version = PLUGIN_VERSION, url = "pluginler.com" }; public void OnPluginStart() { RegAdminCmd("sm_hwrite", write, ADMFLAG_GENERIC, "HUD Write - Mithat Guner"); } public Action write(int client, int args) { if (args < 1) { ReplyToCommand(client, "Use: sm_hwrite <text>"); return Plugin_Handled; } decl String:text[192]; GetCmdArgString(text, sizeof(text)); for(int i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && !IsFakeClient(i)) { SetHudTextParams(0.45, 0.350, 3.0, 0, 0, 255, 255, 0, 0.25, 0.5, 0.3); ShowHudText(i, 1, text); } } return Plugin_Handled; } Attached Files mithat_hudyazisi.smx (4.3 KB) Get Plugin or Get Source (mithat_hudyazisi.sp - 917 Bytes) 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ę