[TF2]Set Team
2 Attachment(s)
sm_setteam <target> <teamnumber or red blue spec>
allow capital and small letter example: sm_setteam @me red sm_setteam @me BlUe sm_setteam @me blue sm_setteam @me spec sm_setteam @me spec sm_setteam @me 0 = spectator(do not use that!) sm_setteam @me 1 = spectator sm_setteam @me 2 = red sm_setteam @me 3 = blue sm_setteam @all blue |
Re: [TF2]Set Team
Let me know if there's anything wrong.
|
Re: [TF2]Set Team
I think my plugins has so many problem
|
Re: [TF2]Set Team
navermind!
|
Re: [TF2]Set Team
Very good for a first plugin. I'd fix the indentation up a bit though, something like this:
PHP Code:
Also, for your "SetTeam" stock, you may want to change that to say "stock void SetTeam" as the function doesn't have any "return" lines. If there's no "return" lines, the datatype for the function should be set to "void". I went through your plugin and made a few changes to give you an idea of some potentially better ways of doing things as well as some pointers: https://pastebin.com/4SJbMJpP |
Re: [TF2]Set Team
Thanks
|
Re: [TF2]Set Team
oh my god
I found that\ |
Re: [TF2]Set Team
wait a second
how to edit attached files? |
Re: [TF2]Set Team
Edit -> Go Advanced -> Manage Attachments
|
Re: [TF2]Set Team
Problem is it setteam sentry can shoot me
|
All times are GMT -4. The time now is 11:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.