Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[TF2] SandBox - SaveSystem (v1.0)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Video Demonstration:

Description:
SaveSystem for TF2Sandbox servers!
The data will be saved under /addons/sourcemod/data/TF2SaveSystem/
Example Data file (trade_sandbox_city1&[email protected]):
PHP Code:

;--- Saved Maptrade_sandbox_city1
;--- SteamID6476561198097317941
;--- Data Slot2
;--- Saved on 2017/10/30
ent1 prop_dynamic models
/props_manor/painting_03.mdl -2044.821533 -2275.947265 -10055.384765 0.000000 0.000000 0.000000
ent2 prop_dynamic models
/props_manor/painting_05.mdl -2029.485473 -2199.377685 -9209.115234 0.000000 0.000000 0.000000
ent3 prop_dynamic models
/props_manor/painting_05.mdl -2035.046386 -1940.346313 -9206.613281 0.000000 0.000000 0.000000
ent4 prop_dynamic models
/props_manor/painting_06.mdl -2047.968750 -2174.826904 -9452.376953 0.000000 0.000000 0.000000
ent5 prop_dynamic models
/props_manor/painting_06.mdl -2047.968750 -1922.312500 -9452.877929 0.000000 0.000000 0.000000
ent6 prop_dynamic models
/props_manor/painting_03.mdl -2047.968750 -1866.540161 -9299.416015 0.000000 0.000000 0.000000
ent7 prop_dynamic models
/props_manor/painting_03.mdl -2047.968750 -2255.670898 -9872.235351 0.000000 0.000000 0.000000
ent8 prop_dynamic models
/props_manor/painting_02.mdl -2047.968750 -2251.187500 -9674.476562 0.000000 0.000000 0.000000
ent9 prop_dynamic models
/props_manor/painting_05.mdl -2042.831542 -1975.937622 -9646.766601 0.000000 0.000000 0.000000
ent10 prop_dynamic models
/props_manor/painting_02.mdl -2047.968750 -2249.950683 -9365.385742 0.000000 0.000000 0.000000
ent11 prop_dynamic models
/props_manor/painting_06.mdl -2023.652465 -1978.194213 -9870.434570 0.000000 0.000000 0.000000
ent12 prop_dynamic models
/props_manor/painting_03.mdl -2039.004882 -1979.160766 -10158.162109 0.000000 0.000000 0.000000
ent13 prop_dynamic models
/props_manor/painting_03.mdl -2043.629760 -1976.085205 -9933.588867 0.000000 0.000000 0.000000
ent14 prop_dynamic models
/props_manor/painting_04.mdl -2047.968750 -1886.490966 -9762.456054 0.000000 0.000000 0.000000
ent15 prop_dynamic models
/props_manor/painting_04.mdl -2047.968750 -2071.597900 -9747.175781 0.000000 0.000000 0.000000
ent16 prop_dynamic models
/props_manor/painting_03.mdl -2047.968750 -2275.208984 -10279.649414 0.000000 0.000000 0.000000
ent17 prop_dynamic models
/props_manor/painting_04.mdl -2031.012329 -1803.661132 -10188.668945 0.000000 0.000000 0.000000
ent18 prop_dynamic models
/props_manor/painting_04.mdl -2045.538574 -2114.842285 -10193.837890 0.000000 0.000000 0.000000
ent19 prop_dynamic models
/props_manor/painting_06.mdl -2018.099853 -1891.462158 -10050.978515 0.000000 0.000000 0.000000
ent20 prop_dynamic models
/props_manor/painting_07.mdl -2028.517333 -2018.469970 -10054.922851 0.000000 0.000000 0.000000
ent21 prop_dynamic models
/props_manor/painting_02.mdl -2047.968750 -1977.926025 -10299.258789 0.000000 0.000000 0.000000
;--- Data File End 21 Props Saved
;--- File Generated By TF2SB-SaveSystem.smx 

Requirement:
TF2Sandbox Plugin
Link: https://github.com/Danct12/TF2SB

Commands:
Code:

sm_ss //Open SaveSystem menu
sm_ssload //(ADMFLAG_GENERIC) Usage: sm_ssload <targetname|steamid64> <slot>

Example:
  • Load myself slot1
  • sm_ssload @me 1
  • Load Steamid76561198097317941 slot5
  • sm_ssload 76561198097317941 5


Convars:
Code:

sm_tf2sb_ss_cooldownsec "2" //Set CoolDown seconds to prevent flooding. (Min= 0, Max= 50)
sm_tf2sb_ss_storeslots "4" //How many slots for client to save(Min= 1, Max= 100)


Credits:
LaZy cAt (Orginal Buildmod: Save plugin)

Github:
https://github.com/BattlefieldDuck/TF2SB-SaveSystem

Attached Files
File Type: sp Get Plugin or Get Source (TF2Sandbox-SaveSystem.sp - 23.7 KB)
File Type: smx TF2Sandbox-SaveSystem.smx (14.4 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

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ę
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...