Raised This Month: $ Target: $400
 0% 

"option works only once per map , can somebody change that?"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gtpunkt
Veteran Member
Join Date: Dec 2008
Location: Berlin
Old 03-14-2011 , 07:15   "option works only once per map , can somebody change that?"
Reply With Quote #1

PHP Code:
register_clcmd("say /mwheel""ClientCommand_Binds"
"option works only once per map , can somebody change that?"
Attached Files
File Type: sma Get Plugin or Get Source (Untitled Script.sma - 524 views - 5.9 KB)

Last edited by gtpunkt; 03-14-2011 at 07:18.
gtpunkt is offline
Send a message via Skype™ to gtpunkt
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 03-14-2011 , 07:27   Re: "option works only once per map , can somebody change that?"
Reply With Quote #2

PHP Code:
public ClientCommand_Binds(id)
{
    if( !
GetIdBits(g_bCommandRanOnceid) )
    {
        
SetIdBits(g_bCommandRanOnceid)
        
ClearIdBits(g_bAcceptedid)
        
nvault_set(g_iNvaultg_szAuthId[id], "0")
        
g_iSetting[id] = 0
        ShowChooseMenu
(id)
        
g_iKickMe[id] = 90
        EnableHamForward
g_hMagicThink )
    }

PHP Code:
public ClientCommand_Binds(id)
{
    static 
one_time

    
if( !one_time && !GetIdBits(g_bCommandRanOnceid) )
    {
        
one_time true
        SetIdBits
(g_bCommandRanOnceid)
        
ClearIdBits(g_bAcceptedid)
        
nvault_set(g_iNvaultg_szAuthId[id], "0")
        
g_iSetting[id] = 0
        ShowChooseMenu
(id)
        
g_iKickMe[id] = 90
        EnableHamForward
g_hMagicThink )
    }

__________________

Working on:
nothing
schmurgel1983 is offline
gtpunkt
Veteran Member
Join Date: Dec 2008
Location: Berlin
Old 03-14-2011 , 08:16   Re: "option works only once per map , can somebody change that?"
Reply With Quote #3

frist thanks for help.
its not work
frist time if I write /mwheel its all ok,but if I will open again
its not open the menu its just show the kick time and not menu

Last edited by gtpunkt; 03-14-2011 at 08:20.
gtpunkt is offline
Send a message via Skype™ to gtpunkt
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 03-14-2011 , 08:56   Re: "option works only once per map , can somebody change that?"
Reply With Quote #4

en: what do you want exactly?

ger: was willst du denn genau?
__________________

Working on:
nothing
schmurgel1983 is offline
gtpunkt
Veteran Member
Join Date: Dec 2008
Location: Berlin
Old 03-14-2011 , 09:32   Re: "option works only once per map , can somebody change that?"
Reply With Quote #5

option works only once per map , can somebody change that

[ger]
ich kann das menu nur einmal benutzen auf einer map? ich will das ich es immer öffnen kann,dein code da oben ist fehlerhaft der zeigt mir das menu beim 2ten mal nicht an sondern nur die zeit ,die man hat bevor man gekickt wird

Last edited by gtpunkt; 03-14-2011 at 14:51.
gtpunkt is offline
Send a message via Skype™ to gtpunkt
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 03-14-2011 , 09:45   Re: "option works only once per map , can somebody change that?"
Reply With Quote #6

"option works only once per map , can somebody change that?"
ahhh read not correctly xD
changed
Attached Files
File Type: sma Get Plugin or Get Source (Untitled Script.sma - 509 views - 5.7 KB)
__________________

Working on:
nothing
schmurgel1983 is offline
gtpunkt
Veteran Member
Join Date: Dec 2008
Location: Berlin
Old 03-14-2011 , 09:52   Re: "option works only once per map , can somebody change that?"
Reply With Quote #7

I will testing it ,if samething wrong I report to you,thanks very mutch.
EDIT: it works ,thanks again

Last edited by gtpunkt; 03-14-2011 at 11:13.
gtpunkt is offline
Send a message via Skype™ to gtpunkt
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-14-2011 , 13:21   Re: "option works only once per map , can somebody change that?"
Reply With Quote #8

haven't learned that this is an english forum yet apparently.
__________________
fysiks is offline
Old 03-14-2011, 14:55
gtpunkt
This message has been deleted by gtpunkt. Reason: wtf
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 14:39.


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