Raised This Month: $51 Target: $400
 12% 

sm_votequestion


Post New Thread Reply   
 
Thread Tools Display Modes
Author
zerak
Senior Member
Join Date: Feb 2008
Plugin ID:
333
Plugin Version:
1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows the creation of a user (admin) defined votes, ingame.
    Unapprover:
    Reason for Unapproving:
    deprecated due to included plugin in sourcemod package.
    Old 03-28-2008 , 11:18   sm_votequestion
    Reply With Quote #1

    A remake of ma_votequestion
    Code:
    sm_votequestion  <title> [<option1> <option2> ... <optionN>]
    If no options are given it will add "Yes" and "No" as options.
    Hope it will work, but as all of my works don't trust it until people give it a go and say it works

    It is based on voteManager and is a simple example on how to use it (don't trust that one either, found a few bugs of the simplest things when I did this one).
    Attached Files
    File Type: smx votequestion.smx (7.2 KB, 360 views)
    File Type: sp Get Plugin or Get Source (votequestion.sp - 330 views - 2.4 KB)

    Last edited by zerak; 03-28-2008 at 11:24.
    zerak is offline
    LocutusH
    Senior Member
    Join Date: Dec 2007
    Location: Hungary
    Old 03-28-2008 , 12:15   Re: sm_votequestion
    Reply With Quote #2

    sm_vote question answer1 answer2 answerN

    is already a feature of SM
    __________________
    LocutusH is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 03-28-2008 , 12:17   Re: sm_votequestion
    Reply With Quote #3

    hehe.

    BTW I'm just about to release a revolutionary new transport device: I call it The Wheel

    lol j/k Zefar.
    __________________
    Extreme_One is offline
    zerak
    Senior Member
    Join Date: Feb 2008
    Old 03-28-2008 , 12:25   Re: sm_votequestion
    Reply With Quote #4

    Reinventing the wheel is very good to understand the basics or to demonstrate how it is used and done. Download and try this and you will see that it isn't quite the same. Have to admit I didn't know it existed either but it is also part of an example of usage for a piece of code (follow the ling)
    zerak is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 03-28-2008 , 12:28   Re: sm_votequestion
    Reply With Quote #5

    Quote:
    Originally Posted by zerak View Post
    Reinventing the wheel is very good to understand the basics or to demonstrate how it is used and done. Download and try this and you will see that it isn't quite the same. Have to admit I didn't know it existed either but it is also part of an example of usage for a piece of code (follow the ling)
    Hehe fair enough mate, I was only teasing anyway.

    However even though I'm not a coder I do take a peek in the coding forums to see what you guys are up to and I saw your VoteManager include. It looks very useful.
    __________________
    Extreme_One is offline
    zerak
    Senior Member
    Join Date: Feb 2008
    Old 03-28-2008 , 12:33   Re: sm_votequestion
    Reply With Quote #6

    yes but it should be done with natives instead of including the source since updating plugins will be a mess, going to look at handles (didn't get it last time though)
    zerak is offline
    kolcak
    Junior Member
    Join Date: Sep 2008
    Location: France ,76000 ,Haut-norm
    Old 02-28-2009 , 09:01   Re: sm_votequestion
    Reply With Quote #7

    Quote:
    fatal error 120: cannot real the file "votemanager"
    Code:
    #include <voteManager>

    why ?
    kolcak is offline
    Atreus
    SourceMod Donor
    Join Date: Apr 2005
    Location: San Diego, CA
    Old 03-02-2009 , 04:47   Re: sm_votequestion
    Reply With Quote #8

    Why does it matter?
    Quote:
    deprecated due to included plugin in sourcemod package.
    Atreus is offline
    Send a message via AIM to Atreus Send a message via MSN to Atreus
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 03-04-2009 , 01:11   Re: sm_votequestion
    Reply With Quote #9

    Maybe he doesnt understand English well? Ya never know.
    __________________

    DontWannaName 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 23:22.


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