Skocz do zawartości

Jack122

Użytkownik
  • Liczba zawartości

    27
  • Rejestracja

  • Ostatnia wizyta

Reputacja

2 Nowy

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

  1. Jack122

    Tagi na checie

    Serio trudno tak wpisać w google? https://forums.alliedmods.net/showthread.php?t=303671
  2. Już naprawione. Do zamknięcia
  3. https://forums.alliedmods.net/showthread.php?t=299311
  4. Witam. Tak jak w temacie. Levelranksy dają dziwne errory: 01/16/2021 - 00:32:24: [SM] Exception reported: Array index out-of-bounds (index 18, limit 18) L 01/16/2021 - 00:32:24: [SM] Blaming: levelsranks_hud.smx L 01/16/2021 - 00:32:24: [SM] Call stack trace: L 01/16/2021 - 00:32:24: [SM] [1] Line 255, C:\Users\jakub\Desktop\kompilator\levelsranks_hud.sp::SetSettingsRank L 01/16/2021 - 00:32:24: [SM] [2] Line 73, C:\Users\jakub\Desktop\kompilator\levelsranks_hud.sp::LR_OnCoreIsReady L 01/16/2021 - 00:32:24: [SM] [4] Call_Finish L 01/16/2021 - 00:32:24: [SM] [5] Line 449, levels_ranks/database.sp::SQL_TransactionCallback
  5. Witam. Tak jak w temacie. Zależy mi na całkowicie autorskim rozwiązaniu. Po więcej szczegółów zapraszam na priv 😉
  6. Siema. Tak jak w tytule. Simple chatprocessor pluje mi errorami. http://www.wklejto.pl/877035
  7. Plugin crashuje serwer. @Mesharsky
  8. Przesyłam error logi. Proszę o pomoc. L 12/23/2020 - 20:51:23: SourceMod error session started L 12/23/2020 - 20:51:23: Info (map "de_mirage") (file "/home/k16190_s19556/server_19556/csgo/addons/sourcemod/logs/errors_20201223.log") L 12/23/2020 - 20:51:23: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501) L 12/23/2020 - 20:51:58: Error log file session closed. L 12/23/2020 - 21:22:14: SourceMod error session started L 12/23/2020 - 21:22:14: Info (map "de_mirage") (file "/home/k16190_s19556/server_19556/csgo/addons/sourcemod/logs/errors_20201223.log") L 12/23/2020 - 21:22:14: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501) L 12/23/2020 - 21:22:29: Error log file session closed. L 12/23/2020 - 22:00:22: SourceMod error session started L 12/23/2020 - 22:00:22: Info (map "de_mirage") (file "/home/k16190_s19556/server_19556/csgo/addons/sourcemod/logs/errors_20201223.log") L 12/23/2020 - 22:00:22: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501) L 12/23/2020 - 22:00:54: Error log file session closed.
  9. Cześć. Proszę o przerobienie tego pluginu, kod poniżej: #pragma semicolon 1 #include <sourcemod> #include <sdktools> #include <cstrike> #define STANDARDMAPSMAX 12 new String:BSAL[1]; new EIBA = -1; new EIBB = -1; new Handle:Timer = INVALID_HANDLE; new String:StandardMaps[STANDARDMAPSMAX][2][11] = { { "de_aztec","B" }, { "de_cbble","A" }, { "de_chateau","A" }, { "de_dust","A" }, { "de_dust2","A" }, { "de_inferno","B" }, { "de_nuke","B" }, { "de_piranesi","A" }, { "de_port","A" }, { "de_prodigy","B" }, { "de_tides","A" }, { "de_train","A" } }; public Plugin:myinfo = { name = "Bombsite Limiter", author = "Tomasz 'anacron' Motylinski", description = "Limiting Bomsites when due to low CT players.", version = "1.2.3", url = "http://anacron.pl/" } public OnPluginStart() { HookEvent("round_freeze_end",Event_RoundFreezeEnd,EventHookMode_Post); HookEvent("bomb_planted",Event_RoundEnd,EventHookMode_Post); HookEvent("round_end",Event_RoundEnd,EventHookMode_Post); CreateConVar("sm_bslimiter","1.2.3","Version Information",FCVAR_REPLICATED|FCVAR_NOTIFY); } stock bool:IsVecBetween(const Float:vecVector[3],const Float:vecMin[3],const Float:vecMax[3]) { return ( (vecMin[0] <= vecVector[0] <= vecMax[0]) && (vecMin[1] <= vecVector[1] <= vecMax[1]) && (vecMin[2] <= vecVector[2] <= vecMax[2]) ); } public Message() { PrintToChatAll("[BS Limiter] W druzynie CT jest za malo graczy - wlaczony tylko BombSite %s.",BSAL); PrintHintTextToAll("Podczas tej rundy wlaczony bedzie tylko BombSite %s!",BSAL); } public Action:RepeatMessage(Handle:timer) { Message(); } public Action:Event_RoundFreezeEnd (Handle:event,const String:name[],bool:dontBroadcast) { if(IsValidEntity(EIBA)) { EIBA = -1; } if(IsValidEntity(EIBB)) { EIBB = -1; } if(Timer != INVALID_HANDLE) { CloseHandle(Timer); Timer = INVALID_HANDLE; } new Float:VBCPA[3]; new Float:VBCPB[3]; new EI = -1; EI = FindEntityByClassname(EI,"cs_player_manager"); if(IsValidEntity(EI)) { GetEntPropVector(EI,Prop_Send,"m_bombsiteCenterA",VBCPA); GetEntPropVector(EI,Prop_Send,"m_bombsiteCenterB",VBCPB); } EI = -1; EI = FindEntityByClassname(EI,"func_bomb_target"); while(IsValidEntity(EI)) { new Float:VBMin[3]; new Float:VBMax[3]; GetEntPropVector(EI,Prop_Send,"m_vecMins",VBMin); GetEntPropVector(EI,Prop_Send,"m_vecMaxs",VBMax); if (IsVecBetween(VBCPA,VBMin,VBMax)) { EIBA = EI; } else if (IsVecBetween(VBCPB,VBMin,VBMax)) { EIBB = EI; } EI = FindEntityByClassname(EI,"func_bomb_target"); } if(IsValidEntity(EIBA) && IsValidEntity(EIBB)) { new CTPlayers = GetTeamClientCount(CS_TEAM_CT); new TTPlayers = GetTeamClientCount(CS_TEAM_T); if(((CTPlayers > TTPlayers) && (TTPlayers == 1 || CTPlayers > 3)) || CTPlayers > 4) { AcceptEntityInput(EIBB,"Enable"); AcceptEntityInput(EIBA,"Enable"); BSAL = ""; PrintHintTextToAll("Wszystkie BombSite'y sa dostepne w tej rundzie!"); PrintCenterTextAll("Wszystkie BombSite'y sa dostepne w tej rundzie!"); } else { if(GetRandomInt(1,2) == 1) { AcceptEntityInput(EIBA,"Disable"); AcceptEntityInput(EIBB,"Enable"); BSAL = "B"; } else { AcceptEntityInput(EIBB,"Disable"); AcceptEntityInput(EIBA,"Enable"); BSAL = "A"; } decl String:CurrentMap[256]; GetCurrentMap(CurrentMap,sizeof(CurrentMap)); for(new i=0; i<STANDARDMAPSMAX; i++) { if(StrEqual(CurrentMap,StandardMaps[i][0],false)) { if(StrEqual(StandardMaps[i][1],"B",false)) { AcceptEntityInput(EIBA,"Disable"); AcceptEntityInput(EIBB,"Enable"); BSAL = "B"; } else { AcceptEntityInput(EIBB,"Disable"); AcceptEntityInput(EIBA,"Enable"); BSAL = "A"; } } } if(GetClientCount(true) > 1) { Message(); Timer = CreateTimer(15.0,RepeatMessage, _,TIMER_REPEAT); } } } } public Action:Event_RoundEnd (Handle:event,const String:name[],bool:dontBroadcast) { if(Timer != INVALID_HANDLE) { CloseHandle(Timer); Timer = INVALID_HANDLE; } if(IsValidEntity(EIBA)) { AcceptEntityInput(EIBA,"Enable"); EIBA = -1; } if(IsValidEntity(EIBB)) { AcceptEntityInput(EIBB,"Enable"); EIBB = -1; } } Próbowałem sam, lecz gdy chce ustawić Timer na 01.0 plugin spamuje jak po*****y na czacie i w hincie.
  10. Tak jak w temacie. Szukam podobnego systemu co do zephyrus store. Macie coś ciekawego? Obejdzie się bez shop core.
  11. Witam, tak jak w temacie. Czy da się jakoś przerobić to tak, aby wybrane skiny oraz rękawiczki były dostępne tylko dla vipa?
×
×
  • Dodaj nową pozycję...