Raised This Month: $32 Target: $400
 8% 

Say afk


Post New Thread Reply   
 
Thread Tools Display Modes
Author
youfake
Junior Member
Join Date: Jul 2013
Plugin ID:
3743
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    You can go to spect by typing !afk/!spect
    Old 07-11-2013 , 11:34   Say afk
    Reply With Quote #1

    Description:

    This plugin is useful on zombie servers where the player do suicide or want go afk.
    It is my frst plugin dont kill me for it.
    Thank you.

    Commands:

    say or sayteam:

    - !afk - go to spect
    - !spect - go to spect
    Attached Files
    File Type: zip Say afk.zip (4.0 KB, 1256 views)

    Last edited by youfake; 07-11-2013 at 12:16.
    youfake is offline
    micazoid
    Veteran Member
    Join Date: Oct 2010
    Location: Munich - Germany
    Old 07-11-2013 , 12:03   Re: Say afk
    Reply With Quote #2

    Please make the text you write in Chat in English or write a translationfile. Everyone has to recompile it
    __________________
    micazoid is offline
    youfake
    Junior Member
    Join Date: Jul 2013
    Old 07-11-2013 , 12:18   Re: Say afk
    Reply With Quote #3

    Recompiled
    Attached Files
    File Type: zip Say afk.zip (4.0 KB, 304 views)
    youfake is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-11-2013 , 18:44   Re: Say afk
    Reply With Quote #4

    Please simply attach the .sp

    The "get plugin" button will magically appear. No need to burden users with a .zip.

    EDIT :

    Also, you need to use AddCommandListener when checking what the users says. A lot of old plugins already do what you did and RegConsoleCmd wasn't created in that intent. It is also said in RegConsoleCmd's online doc.

    You should also remove FCVAR_REPLICATED, as it can gives error in clients' console.

    With a little twist of your code, you could make it work on all plugins (undef REQUIRE_EXTENSIONS before #include <cstrike>).

    Also, as micazoid said, it would be a good idea to put a translation file. See wiki or other plugins for more info/example.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 07-11-2013 at 18:52.
    RedSword is offline
    youfake
    Junior Member
    Join Date: Jul 2013
    Old 07-13-2013 , 09:04   Re: Say afk
    Reply With Quote #5

    Quote:
    Originally Posted by youfake View Post
    Description:

    This plugin is useful on zombie servers where the player do suicide or want go afk.
    It is my frst plugin dont kill me for it.
    Thank you.

    Commands:

    say or sayteam:

    - !afk - go to spect
    - !spect - go to spect
    Attached Files
    File Type: zip say afk.zip (5.1 KB, 232 views)
    File Type: smx Afk.smx (3.0 KB, 309 views)
    File Type: sp Get Plugin or Get Source (Afk.sp - 756 views - 1.3 KB)
    File Type: txt plugin.say_afk.txt (277 Bytes, 352 views)
    youfake is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-13-2013 , 11:44   Re: Say afk
    Reply With Quote #6

    ... edit OP, don't make a new message for that

    and plugins give warning when compiling

    and you don't need to #include <cstrike>, you then won't need to attach .smx

    and when printing to chat use %t not %T
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    youfake
    Junior Member
    Join Date: Jul 2013
    Old 07-17-2013 , 06:16   Re: Say afk
    Reply With Quote #7

    Now are not any errors in scritping. If any errors please report then try to fix.
    Attached Files
    File Type: sp Get Plugin or Get Source (Afk.sp - 800 views - 1.3 KB)
    File Type: txt plugin.say_afk.txt (277 Bytes, 336 views)
    youfake is offline
    musosoft
    Senior Member
    Join Date: Dec 2008
    Location: Thailand
    Old 07-31-2013 , 14:20   Re: Say afk
    Reply With Quote #8

    Preco nerespektujes co ti hovori RedSword? Zdrojaky pridavaj do prveho prispevku, nie zvlast. Kazdopadne, dakujem za plugin, nieco take som hladal.
    //Why you are disrespecting what RedSword said? Add sourcecodes to first topic, not individually. But thanks, it's something like I was searching for.
    __________________
    Making FiveM servers nowadays. Can help with CS:GO, CS:S, and other Source server stuff too, just PM me. Thanks
    musosoft is offline
    Triniayo
    Senior Member
    Join Date: Apr 2011
    Location: #include <germany>
    Old 07-31-2013 , 14:48   Re: Say afk
    Reply With Quote #9

    Whats the different between your plugin and this: https://forums.alliedmods.net/showthread.php?p=1983051 ?
    __________________
    If you need any help, feel free to add me on Steam.


    Triniayo is offline
    Send a message via Skype™ to Triniayo
    cREANy0
    SourceMod Donor
    Join Date: Jul 2012
    Location: Germany
    Old 07-31-2013 , 15:26   Re: Say afk
    Reply With Quote #10

    Quote:
    Originally Posted by FreakyLike View Post
    Whats the different between your plugin and this: https://forums.alliedmods.net/showthread.php?p=1983051 ?
    Yea.. already enough existing Plugins like this.
    __________________
    cREANy0 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 15:27.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode