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

Elimination Race (1.0.2 - 01.04.2013)


Post New Thread Reply   
 
Thread Tools Display Modes
hosimosi
Senior Member
Join Date: Apr 2013
Old 01-04-2014 , 17:31   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #11

Good job , nice plugin
hosimosi is offline
Going Dutch
Member
Join Date: Dec 2013
Old 01-04-2014 , 20:20   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #12

Looks great, well done.
__________________
Learning amxx/pawn and all that good stuff.
Going Dutch is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 01-05-2014 , 01:34   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #13

Good Job, It's like Arms Race in CS:GO but it's abit diffrent. :p
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-05-2014 , 03:58   AW: Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #14

Quote:
Originally Posted by PoLiCe View Post
Good Job, It's like Arms Race in CS:GO but it's abit diffrent. :p
I don't know what Arms Race is.
__________________
Kia is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 01-05-2014 , 04:22   Re: AW: Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #15

Quote:
Originally Posted by Kia View Post
I don't know what Arms Race is.
It's like Gun Game in cs1.6, everyone race to be the first, every enemy you kill you get a new weapon.
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-05-2014 , 04:24   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #16

So it is GunGame.
__________________
Kia is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-19-2014 , 07:28   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #17

Please report future bugs and suggestions via mail to : [email protected]

Since I get many messages from different ways I decided to set up this mail account so everything gets to one place.
__________________
Kia is offline
5aloOod
Senior Member
Join Date: Jun 2013
Location: hell
Old 03-21-2014 , 04:42   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #18

Suggestion:
at the start of the game make a vote like this
Do you want so start Elimination Race ?
- yes [x%]
- no [x%]
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
5aloOod is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 04-01-2014 , 04:57   Re: Elimination Race (1.0.1 - 26.08.2013)
Reply With Quote #19

Updated to v1.0.2 : [ 01.04.2014 ]
  • Fixed bug where the Servers Name was shown instead of a player when they are less than 5 players connected.
__________________
Kia is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 04-01-2014 , 13:47   Re: Elimination Race (1.0.2 - 01.04.2013)
Reply With Quote #20

Some easy changes

PHP Code:
if(!g_bGameHasStarted)
        
set_user_godmode(id1)
    else
        
set_user_godmode(id0)

---->

set_user_godmode(idint:g_bGameHasStarted

I better option would be:

PHP Code:
new g_iFirstPlace
new g_iSecondPlace
new g_iThirdPlace
new g_iFourthPlace
new g_iFifthPlace

---->

new 
g_iPlaces[5
PHP Code:
new szName1[64], szName2[64], szName3[64], szName4[64], szName5[64]
    
    if(
g_iFirstPlace 0)
        
get_user_name(g_iFirstPlace,     szName1charsmax(szName1))
    else    
        
formatex(szName1charsmax(szName1), "-")
    
    if(
g_iSecondPlace 0)
        
get_user_name(g_iSecondPlace,     szName2charsmax(szName2))
    else    
        
formatex(szName2charsmax(szName2), "-")
    
    if(
g_iThirdPlace 0)
        
get_user_name(g_iThirdPlace,     szName3charsmax(szName3))
    else    
        
formatex(szName3charsmax(szName3), "-")
        
    if(
g_iFourthPlace 0)
        
get_user_name(g_iFourthPlace,     szName4charsmax(szName4))
    else    
        
formatex(szName4charsmax(szName4), "-")
        
    if(
g_iFifthPlace 0)
        
get_user_name(g_iFifthPlace,     szName5charsmax(szName5))
    else
        
formatex(szName5charsmax(szName5), "-")

----->

new szNames[5][64]
    for(new 
05i++)
    {
        if(
g_iPlaces[i])
        {
            
get_user_name(g_iPlaces[i],     szNames[i], 63)
            continue
        }
        
formatex(szNames[i], 63"-")
    } 

line 498, doesnt rlly have any function

PHP Code:
else continue; 


Not sure if its much of an optimize but anyway
PHP Code:
public SortFunc(elem1elem2
{
    if ( 
get_user_frags(elem1) > get_user_frags(elem2) )
        return -
1
    
else if ( get_user_frags(elem1) < get_user_frags(elem2) )
        return 
1
    
else if ( get_user_deaths(elem1) < get_user_deaths(elem2) )
        return -
1
    
else if ( get_user_deaths(elem1) > get_user_deaths(elem2) )
        return 
1
    
return 0
}

---->

public 
SortFunc(elem1elem2
{
    if( (
get_user_frags(elem1) > get_user_frags(elem2))
    || (
get_user_deaths(elem1) < get_user_deaths(elem2))
        return -
1
        
    
else if (get_user_frags(elem1) < get_user_frags(elem2))
    || 
get_user_deaths(elem1) > get_user_deaths(elem2))
        return 
1
        
    
return 0

__________________
Retired.
Xalus 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 20:49.


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