Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

[RSS Pluginy] [TF2] SMFire


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
Hai,
this plugin allows you to manipulate/edit entities in-game.

Command:
sm_fire <target> <action> <value> | ADMFLAG_BAN

Targets
Single
!self - "yourself"
!picker - "target under your crosshair"
@playername - "playername"
*index - "entity index"
Multiple
!all - "every player on server"
!blue - "every player on team blue"
!red - "every player on team red"
!bots - "every bot on server"
#targetname - "targetname of entity"
classname - "classname of entity"
Actions
data (full) - "displays entity id, classname and targetname (more info if you write data full)"
removeslot <slot> - "remove a players weapon slot (0-5)"
stun <duration> - "stuns a player"
setname <name> - "sets targetname for entity"
kill - "kills entity or forces suicide on player"
addorg <x> <y> <z> - "adds origin to entity"
addang <pitch> <yaw> <roll> - "adds angles to entity"
setorg <x> <y> <z> - "sets origin for entity"
setang <pitch> <yaw> <roll> - "sets angles for entity"
copy <x> <y> <z> <pitch> <yaw> <roll> - "copies entity to given location with angles (only works with props)"
class <tfclass> - "sets players class"
setheadscale <value> - "sets players headscale"
settorsoscale <value> - "sets players torsoscale"
sethandscale <value> - "sets players handscale"
resetscale - "resets all scales to 1"
fp or firstperson - "enables firstperson for player"
tp or thirdperson - "enables thirdperson for player"
teleport <target> - "teleports entity to target"
addcond <value> - "adds condition to player"
removecond <value> - "removes condition from player"
!aim
when using !aim as target you can use one of the following actions:
data - "displays trace startpos, startang, endpos and entity hit"
prop <modelpath> - "spawns a prop_dynamic at crosshair location"
create <entity name> - "creates an entity and stores it"
delete - "deletes stored entity"
value <key> <value> - "adds keyvalues to stored entity"
spawn - "spawns the entity with given keyvalues"
Datamap Manipulation
If you type a datamap as action it will output a value for it or you can edit that value if possible.

Usage:
sm_fire <target> <datamap> <value>

Examples:
sm_fire !self m_flGravity 0.3 - "sets the clients gravity to 0.3"
sm_fire !picker m_iMaxHealth - "shows client the max health of picker."
sm_fire @pear m_flMaxspeed 370 - "sets pears maxspeed to 370"
sm_fire *6 m_iName - "shows client the targetname of entity with index 6"
Else
Everything else will be treated like ent_fire.
sm_fire <target> setmodelscale 5
sm_fire <target> addoutput origin 0 0 0 (do not use quotes)
sm_fire <target> color 255+0+32

etc.


Please note:
- only for tf2, will make non-tf2 version in the future
- still has lots of bugs
- my first plugin published

Source on github: https://github.com/bakapear/sourcemo...ting/smfire.sp

feedback is much appreciated! :3

Attached Files sp.gifGet Plugin or Get Source (smfire.sp - 25.3 KB)


Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=300214&goto=newpost

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...