Raised This Month: $32 Target: $400
 8% 

Player Information


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
al3amri
Member
Join Date: May 2011
Old 11-26-2013 , 14:29   Player Information
Reply With Quote #1

Player Information v1.0

[/CENTER]
Description:
Admins can get player informations such as(name,steamid,ip,current played time,total played time)
Credits: Alka ( playedtime code)

Admins Command:
amx_playerinfo <name>
Attached Files
File Type: sma Get Plugin or Get Source (player_info.sma - 1025 views - 3.5 KB)

Last edited by al3amri; 12-18-2013 at 20:59.
al3amri is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 11-26-2013 , 16:53   Re: Player Information
Reply With Quote #2

Quote:
Originally Posted by al3amri View Post
It doesn't ....
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.

Last edited by pokemonmaster; 11-26-2013 at 16:53.
pokemonmaster is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 11-26-2013 , 16:54   Re: Player Information
Reply With Quote #3

You should attach the file properly so you can click get plugin.
__________________
Blizzard_87 is offline
al3amri
Member
Join Date: May 2011
Old 11-27-2013 , 04:49   Re: Player Information
Reply With Quote #4

Updated
sorry i was uploading the wrong version

Last edited by al3amri; 11-27-2013 at 04:55.
al3amri is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 11-27-2013 , 05:37   Re: Player Information
Reply With Quote #5

It still doesn't.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 11-27-2013 , 05:44   Re: Player Information
Reply With Quote #6

you have alot of inconsistencies with your coding. and your variable PlayedTime[ id ] never gets a value set to it.. neither does it get the value from Alkas Played Time plugin. so you should remove that part claiming that it does so.

fix your indentation.

EDIT:

half your code was taken from Alkas plugin.. so you need to give him credits for half coding your plugin...

ALKAS CODE


YOUR CODE
__________________

Last edited by Blizzard_87; 11-27-2013 at 06:00.
Blizzard_87 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-27-2013 , 09:54   Re: Player Information
Reply With Quote #7

Quote:
Originally Posted by al3amri View Post
Compile it LOCALLY !!
Why?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
al3amri
Member
Join Date: May 2011
Old 11-27-2013 , 12:50   Re: Player Information
Reply With Quote #8

its not working with me without i compile it locally
if its works with you its ok i will edit the thread
al3amri is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 02-21-2014 , 20:27   Re: Player Information
Reply With Quote #9

The fact that you have directly copy and pasted code from another plugin shows that you cannot support this.

Unapproved.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
LuXoAlinFCSB
Junior Member
Join Date: Dec 2016
Location: Ramallah
Old 02-16-2018 , 07:34   Re: Player Information
Reply With Quote #10

Quote:
Originally Posted by Blizzard_87 View Post
you have alot of inconsistencies with your coding. and your variable PlayedTime[ id ] never gets a value set to it.. neither does it get the value from Alkas Played Time plugin. so you should remove that part claiming that it does so.

fix your indentation.

EDIT:

half your code was taken from Alkas plugin.. so you need to give him credits for half coding your plugin...

ALKAS CODE


YOUR CODE
i am VPS Sma i give Code
i am Vps info Players i cant Add info Nick players

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <zombieplague> #include <points> public plugin_init() { register_plugin("Player info Hud", "2.0", "LuXo KING Gaming") register_clcmd("say /info","PlayerInfoMenu") register_clcmd("say_team /info","PlayerInfoMenu") register_clcmd("say info","PlayerInfoMenu") register_clcmd("say_team info","PlayerInfoMenu") register_clcmd("info","PlayerInfoMenu",ADMIN_CFG) } public PlayerInfoMenu(id) { new name[32]; get_user_name(id, name, 31) new userid[32]; get_user_authid(id,userid,31) new userip[32];get_user_ip(id,userip,31,1) new health = get_user_health(id) new armor = get_user_armor(id) new ammo = zp_get_user_ammo_packs(id) new points = zp_get_user_points(id) new euro = get_user_euro(id) set_hudmessage(random(0), random(255), random(0), 0.02, 0.19, 1, 1.0, 1.0, 0.1, 0.1) show_hudmessage(id, "Nick: %s^nHave health: %d  ^nHave Armor: %d ^nHave Packs: %d ^nHave Points: %d ^nHave Euro: %d^nSteamid: %s ^nIP: %s",name,health,armor,ammo,points,euro,userid,userip) }
__________________
LuXoAlinFCSB 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 19:54.


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