get id's id
I have
PHP Code:
I try TopPlayer[1][KILL][SELFKILL] but it gives error. |
Re: get id's id
You need to use a named enum:
PHP Code:
|
Re: get id's id
I tried but it gave error.
Top Players KILL and SELFKILL Topplayer[1][KILL] = 10(player A) Topplayer[1][SELFKILL] = 7(player B) Player A's statistics: Record[id][KILL] = 10 Record[id][SELFKILL] = 5 Player B's statistics: Record[id][KILL] = 9 Record[id][SELFKILL] = 7 Now, Topplayer[KILL] id = Player A but he isn't top selfkill because it's number 5 and player B's 7. I need to learn top player A's selfkill number. I use it like this message: Top KILLER'S(Rank 1-Player A 10 and Self-Kills: 5 Rank 2-Player B 9 and Self Kills 7) |
Re: get id's id
Record[TopPlayer[1][KILL]][SELFKILL] should return the most killing player's self kills then
|
Re: get id's id
it doesn't work.
|
Re: get id's id
PHP Code:
|
Re: get id's id
PHP Code:
I didn't understand your code. My functions are example. I need index Topplayer[1][KILL] and this index's SELFKILL number because i want to make this: newid = Topplayer[1][KILL](How to learn this player id) Record[newid][SELFKILL] I tried newid = find_player("a",TopPlayerName[KILL]) but sometimes it return 0 I use it like this message: Top KILLER'S(Rank 1-Player A 10 and Self-Kills: 5 ) PHP Code:
|
Re: get id's id
Can you help me? :)
|
All times are GMT -4. The time now is 04:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.