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

Positivematch


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-30-2010 , 16:58   Re: Positivematch
Reply With Quote #11

Quote:
Originally Posted by floatman View Post
Use switch instead of if statements.
At least 8 of them
__________________
fysiks is offline
JESTO
Junior Member
Join Date: Aug 2009
Location: POLAND
Old 01-31-2010 , 00:49   Re: Positivematch
Reply With Quote #12

Update:
- Now bots have random power.
- Add multilingual (thanks crazyeffect)
__________________
JESTO is offline
JESTO
Junior Member
Join Date: Aug 2009
Location: POLAND
Old 02-03-2010 , 14:13   Re: Positivematch
Reply With Quote #13

Updated:
- Fixed speed bug, when you changed your weapon
- Add cvar
- Add polish translate

Edit: I think it's final version, maybe i only add more translates, if you post any here.
Edit: Oh, i forgot about something, now it's fully correct.
__________________

Last edited by JESTO; 02-04-2010 at 00:38.
JESTO is offline
floatman
Senior Member
Join Date: Oct 2009
Location: nowhere.
Old 02-06-2010 , 04:10   Re: Positivematch
Reply With Quote #14

PHP Code:
if (get_pcvar_num(botsupport)==1
->
PHP Code:
if (get_pcvar_num(botsupport)) 
PHP Code:
if (is_user_bot(id)==1
->
PHP Code:
if (is_user_bot(id)) 
etc.
__________________

floatman is offline
JESTO
Junior Member
Join Date: Aug 2009
Location: POLAND
Old 02-13-2010 , 12:14   Re: Positivematch
Reply With Quote #15

Updated:
- new cvars and power!
- changed extra ammo ability, now it's giving extra ammo to every holding weapon!

Last edited by JESTO; 02-13-2010 at 12:20.
JESTO is offline
JESTO
Junior Member
Join Date: Aug 2009
Location: POLAND
Old 02-14-2010 , 13:03   Re: Positivematch
Reply With Quote #16

And next update...
- fixed freezetime bug
- add spanish translate (thanks Ciio)
- add hudmessages
- add new option: now you can set limit for every power

Limits can don't working perfect.

I'm waiting for next translates...
__________________
JESTO is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 02-14-2010 , 13:54   Re: Positivematch
Reply With Quote #17

Does JESTO has anything to do with TIESTO?
01101101 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-14-2010 , 16:53   Re: Positivematch
Reply With Quote #18

This is spme optimizations but there are many more that could be done.
PHP Code:
        case #:
        
{
            switch (
get_pcvar_num(limits))
            {
                case 
1:
                {
                    if (<
color>_count >= get_pcvar_num(<letter>limit))
                    {
                        
set_task(0.2"showPowersMenu"id)
                        
client_print(id,print_chat,"%L"id"REACHED_LIMIT")
                    }
                    if (<
color>_count get_pcvar_num(<letter>limit))
                    {
                        
make_user_<Color>(id)
                    }
                }
                case 
0:
                {
                    
make_user_<Color>(id)

                }
            }
        } 

PHP Code:
        case #:
        
{
            if (
get_pcvar_num(limits) && <color>_count >= get_pcvar_num(<letter>limit))
            {
                
showPowersMenu(id)
                
client_print(id,print_chat,"%L"id"REACHED_LIMIT")
            }
            else
            {
                
make_user_<Color>(id)
            }
        } 
Oh, by the way, if you add something you should test it before posting it.
__________________
fysiks is offline
JESTO
Junior Member
Join Date: Aug 2009
Location: POLAND
Old 02-15-2010 , 02:22   Re: Positivematch
Reply With Quote #19

I test only, if there are 3 violets in team, i can't be violet. Sorry, i fixed that now.
JESTO is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-15-2010 , 11:51   Re: Positivematch
Reply With Quote #20

Quote:
[nl]
MENU = CT Krachten menu^n^n1. Azuur^n2. Blauw^n3. Groen^n4. Violet^n^n T Krachten Menu^n^n5. Oranje^n6. Rood^n7. Geel^n^n0. Ik wil geen kracht
YOU_HAVE = Jij hebt:
AZURE_POWER = Azure Kracht
AZURE_INFO = +snelheid -zwaartekracht +levens regeneratie
BLUE_POWER = Blauwe Kracht
BLUE_INFO = +snelheid -zwaartekracht +vest regeneratie
GREEN_POWER = Groene Kracht
GREEN_INFO = -snelheid +hp +teamleden helen door ernaar te kijken
VIOLET_POWER = Violette Kracht
VIOLET_INFO = -zwaartekracht +onzichtbaar +radar
RED_POWER = Rode Kracht
RED_INFO = +levens +snelheid +radar +levens regeneratie
ORANGE_POWER = Oranje Kracht
ORANGE_INFO = -zwaartekracht -voetstappen +onzichtbaar +extra ammunitie elke 20 seconden.
YELLOW_POWER = Gele Kracht
YELLOW_INFO = +hp +snelheid +zwaartekracht +teamleden helen door ernaar te kijken
REACHED_UPGRADE = Jij hebt een extra upgrade verdient!
LOST_UPGRADE = Jij hebt een upgrade verloren!
EXTRA_AMMO = Extra Ammunitie voor je wapen!
REACHED_LIMIT = De Limiet is bereikt!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
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 09:11.


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