Raised This Month: $ Target: $400
 0% 

"Vote" when a map starts


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spy123
BANNED
Join Date: Jul 2011
Location: Giurgiu / Romania
Old 04-26-2013 , 12:50   "Vote" when a map starts
Reply With Quote #1

I wan't something like this:

when a map starts,after 20 seconds ( set_task (20.0, "votecvar", 0) ) appears a vote,who ask you: "we play with offside&foul?" and the answers,are like this:

1. Yes,with both
2. Only with foul
3. Only with offside
4. No,without them

if is: 1 -> set_cvar_num ("sj_offside", 1)
set_cvar_num ("sj_foul",1)

2 -> set_cvar_num ("sj_offside", 0)
-> set_cvar_num ("sj_foul",1)

3 -> set_cvar_num ("sj_offside", 1)
-> set_cvar_num ("sj_foul",0)

4 -> set_cvar_num ("sj_offside",0)
-> set_cvar_num ("sj_foul",0)

P.S: sry for my bad english...
Spy123 is offline
 


Thread Tools
Display Modes

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 10:57.


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