Raised This Month: $ Target: $400
 0% 

5votes in 1 map?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gadzislaw007
Senior Member
Join Date: Nov 2009
Old 07-30-2010 , 08:07   Re: 5votes in 1 map?
Reply With Quote #2

well this is easy way:

PHP Code:
///global
new check_value 0

/// init
client_cmd(id"say /votetc" "vote_menu")


///public
public vote_menu(id)
{
 if (
check_value 5/// check if map was extended already 5 times
   
{
      
client_print(0print_chat"You can't extend this mapy anymore!!!!! FFFFFUUUU!")
      return 
PLUGIN_HANDLED
   
}
 else 
/// if it wasn't
   
{
     new 
klasa_menu menu_create("Extend Map""extend")
     
show menu bla bla
   
}

}

extend(/// whatever)   /// check if it was already extended
{
check_value check_value /// count which time it is extended

//// extend map code


Gadzislaw007 is offline
 



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 00:09.


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