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

I want the idea ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 03-09-2016 , 11:44   I want the idea ?
Reply With Quote #1

Hi!
can i calculate the Frag Player Vs Player !

PHP Code:
public Message_kill()
{
    new 
killer read_data (1)
    new 
victim read_data (2)
    new 
killername[33], victimname[33]

    
get_user_name(killer,killername,33)
    
get_user_name(victim,victimname,33)
    
    
set_hudmessage (02550, -1.00.3006.06.00.50.151)
    
show_hudmessage (0,"%s : %d Vs %d : %s",killername_,  victimname )/// here (%d) I want to challenge the players?
    
    
return PLUGIN_CONTINUE;

__________________

Last edited by abdobiskra; 03-09-2016 at 11:45.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 03-09-2016 , 12:09   Re: I want the idea ?
Reply With Quote #2

The question is unclear ...

What frags are you trying to calculate?
EpicMonkey is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 03-09-2016 , 12:15   Re: I want the idea ?
Reply With Quote #3

Eg:
Player Vs iPlayers
This means that the player sees all the statistics with another player
Attached Images
File Type: jpg Capture.JPG (9.3 KB, 106 views)
__________________

Last edited by abdobiskra; 03-09-2016 at 12:35.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
Kowalsky
Senior Member
Join Date: Mar 2015
Location: Poland
Old 03-09-2016 , 14:40   Re: I want the idea ?
Reply With Quote #4

We no understand what we do need??? Could say more clear what doing need?
Kowalsky is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-09-2016 , 15:16   Re: I want the idea ?
Reply With Quote #5

Do you want to show it all the time, or only on that event?

This is what i think u want. no idea.
PHP Code:
public Message_kill()
{
    new 
iKiller read_data (1);
    new 
iVictim read_data (2);
    new 
kName[32], vName[32], kFragsvFrags;

    
get_user_name(iKillerkNamecharsmax(kName))
    
get_user_name(iVictimvNamecharsmax(vName)
    
    
vFrags get_user_frags(iVictim);
    
kFrags get_user_frags(iKiller);

    
// Will show the killer/victim frags for as long as this hud is visible
    
set_hudmessage (02550, -1.00.3006.06.00.50.151)
    
show_hudmessage(id"%s : %d Vs %d : %s"vNamevFragskFragskName)

__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 03-09-2016 at 15:17.
SkumTomteN is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 03-10-2016 , 08:34   Re: I want the idea ?
Reply With Quote #6

SkumTomteN

its work to calculate frag all players !
Eg :
Player kill Test1
i saw : Player : 1 Vs 0 : Test1
if Player kill Test2
i saw: Player : 2 Vs 0 : Test2
But i need like this :
if Player kill Test1 ==> Player : 1 Vs 0 : Test1
if Player kill Test2 ==> Player : 1 Vs 0 : Test2
--------------------------------------------------------

I mean I want her to have every player on Alone to calculate frag ?
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-10-2016 , 08:57   Re: I want the idea ?
Reply With Quote #7

You want it for every kill?
Code:
if Player kills Test1 ==> Player : 1 Vs 0 : Test1

then in the same round

Player kills Test2 ==> Player : 1 Vs 0 : Test2

then in the same round

fysiks kills Player ==> fysiks : 1 Vs 0 Player
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 03-10-2016 at 08:57.
wickedd is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 03-10-2016 , 09:15   Re: I want the idea ?
Reply With Quote #8

wickedd
IN Death Match .. i want
i ask for Half-Life Game
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 03-10-2016 , 10:39   Re: I want the idea ?
Reply With Quote #9

Like [iR] xxD
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-10-2016 , 18:51   Re: I want the idea ?
Reply With Quote #10

Is for show the best players with the best kills.

Name - Kills vs Name2 - Kills

if other player get best kills, the name will receive your name in the hud.

Last edited by EFFx; 03-10-2016 at 18:51.
EFFx 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 15:40.


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