Raised This Month: $ Target: $400
 0% 

what does this mean!?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 05-30-2005 , 08:10   what does this mean!?
Reply With Quote #1

Code:
    register_menucmd(register_menuid("\yPara Only?"),(1<<0)|(1<<1),"count_paravotes")     register_menucmd(register_menuid("\yGrenades Only?"),(1<<0)|(1<<1),"count_grenvotes")     register_menucmd(register_menuid("\yKnives Only?"),(1<<0)|(1<<1),"count_knivesvotes")     register_menucmd(register_menuid("\yAWP Only?"),(1<<0)|(1<<1),"count_awpvotes")     register_menucmd(register_menuid("\yMP5 Only?"),(1<<0)|(1<<1),"count_mp5votes")     register_menucmd(register_menuid("\yScout Only?"),(1<<0)|(1<<1),"count_scoutvotes")     register_menucmd(register_menuid("\yShotgun Only?"),(1<<0)|(1<<1),"count_shotvotes")     register_menucmd(register_menuid("\yShields Only?"),(1<<0)|(1<<1),"count_shieldvotes")     register_menucmd(register_menuid("\yPPG Only?"),(1<<0)|(1<<1),"count_ppgvotes")

Code:
(1<<0)|(1<<1)

what does this mean? and why when i do a vote with that, it shows AWP Only? instead of the thing i defined

Code:
 public cmdvoteawp(id){         if (get_cvar_num("vote_awpvote") == 0 ) {     client_print(id,print_chat,"%L",LANG_PLAYER,"VOTE_AWP_DISABLED"); }         else if (get_cvar_num ("vote_awpvote") == 1 ) {             new Float:voting = get_cvar_float("amx_last_voting")     if (voting > get_gametime()){         client_print(id,print_chat,"%L",LANG_PLAYER,"VOTE_CASTED")         return PLUGIN_HANDLED     }     if (voting && voting + get_cvar_float("amx_vote_delay") > get_gametime()) {         client_print(id,print_chat,"%L",LANG_PLAYER,"VOTE_WAIT")         return PLUGIN_HANDLED     }     new menu_msg[256]     new name[32]     format(menu_msg,255,"%L",LANG_PLAYER,"VOTE_AWP")     new Float:votetime = get_cvar_float("amx_vote_time") + 10.0     get_user_info(id, "name", name, 31)     set_cvar_float("amx_last_voting",  get_gametime() + votetime )     show_menu(0,(1<<0)|(1<<1),menu_msg,floatround(votetime))     set_task(votetime,"check_the_awp_votes")     client_print(0,print_chat,"%L",LANG_PLAYER,"VOTE_STARTED")     choice[0]=choice[1]=0     }     return PLUGIN_HANDLED  }
__________________
Plugins:
none

n0obie4life is offline
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 05-31-2005 , 09:19  
Reply With Quote #2

someone.
__________________
Plugins:
none

n0obie4life is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 05-31-2005 , 14:33  
Reply With Quote #3

Think i need the hole script, becase the AWP only text isny there, it in the function: check_the_awp_votes

the first thing is the keys you want to use....
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-01-2005 , 00:13  
Reply With Quote #4

Quote:
Originally Posted by WaZZeR++
Think i need the hole script, becase the AWP only text isny there, it in the function: check_the_awp_votes

the first thing is the keys you want to use....
you want the WHOLE script?

the link on my siggy pls...

VOTE AIO

The whole script is too big
__________________
Plugins:
none

n0obie4life is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 06-01-2005 , 15:12  
Reply With Quote #5

Is it only on AWP, or is it on everything?

EDIT: try to change
Code:
choice[0]=choice[1]=0
to
Code:
choice[0]=0 choice[1]=0

EDIT2: you can allso try to change (1<<0)|(1<<1) to MENU_KEY_1|MENU_KEY_2
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-02-2005 , 01:23  
Reply With Quote #6

its on everything.

but if i split them up, it works
__________________
Plugins:
none

n0obie4life is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 06-02-2005 , 17:11  
Reply With Quote #7

np...

small dont support that typ of "loop" scripting....
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-02-2005 , 23:12  
Reply With Quote #8

Quote:
Originally Posted by WaZZeR++
np...

small dont support that typ of "loop" scripting....
err sorry? i don't get you...so how should i do it?
__________________
Plugins:
none

n0obie4life is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 06-03-2005 , 09:47  
Reply With Quote #9

this dont work, I call it "loop" scripting, dont know why, sorry if I was unclaer
choice[0]=choice[1]=0

but this will work...
choice[0]=0
choice[1]=0
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-04-2005 , 03:03  
Reply With Quote #10

helppp...

i tried all methods, but it just won't work..
__________________
Plugins:
none

n0obie4life 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 16:47.


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