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

[CS:S/CS:GO] GunGame


Post New Thread Reply   
 
Thread Tools Display Modes
HeZ
Junior Member
Join Date: Aug 2010
Old 08-22-2010 , 08:40   Re: GunGame
Reply With Quote #1621

Ahh cool thanks
So if i wanted to make a player gain a level if they kill someone under certain conditions then i could use a code something like this

Code:
#include <gungame>

// other code

public Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
new ev_attacker = GetEventInt(event, "attacker");
new attacker = GetClientOfUserId(ev_attacker);

if(<these conditions>)
{
GG_AddALevel(attacker);
}
}
HeZ is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 08-22-2010 , 09:46   Re: GunGame
Reply With Quote #1622

There is a forward -
public Action:GG_OnClientDeath(Killer, Victim, Weapons:WeaponId, bool:TeamKilled)
__________________
altex is offline
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 08-23-2010 , 03:06   Re: GunGame
Reply With Quote #1623

altex - first of all thank you for this great plugin I moved from ES to it - perfect.

I have a feature request: may be in !score table the list will look better, if it will be sorted by levels?
__________________
Let's make it better
bzz0 is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 08-23-2010 , 03:22   Re: GunGame
Reply With Quote #1624

Thanks for the request, i think it will look better.
I'm not using !scores at all since i have LevelsInScoreboard on.
__________________
altex is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 08-26-2010 , 19:09   Re: GunGame
Reply With Quote #1625

CSS update. Is there any issues?
__________________
altex is offline
BDeep
Senior Member
Join Date: Jun 2009
Location: NH
Old 08-26-2010 , 19:11   Re: GunGame
Reply With Quote #1626

Updating now, will let you know
__________________
BDeep is offline
LordMarqus
Senior Member
Join Date: Sep 2009
Location: Poland
Old 08-26-2010 , 19:12   Re: GunGame
Reply With Quote #1627

I've updated, gonna play a little to find out.
__________________
My public plugins: [CS:S/CS:GO] Last Man Standing
LordMarqus is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 08-26-2010 , 19:13   Re: GunGame
Reply With Quote #1628

Need new signatures for gamedata\gungame.games.txt for windows platform...
__________________
altex is offline
BDeep
Senior Member
Join Date: Jun 2009
Location: NH
Old 08-26-2010 , 19:18   Re: GunGame
Reply With Quote #1629

Seems to be working fine for me

Win2k8 x64
__________________
BDeep is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 08-26-2010 , 19:23   Re: GunGame
Reply With Quote #1630

Quote:
Originally Posted by BDeep View Post
Seems to be working fine for me

Win2k8 x64
do you use cssdm?
__________________
altex 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 10:46.


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