Raised This Month: $ Target: $400
 0% 

nicks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 06-22-2009 , 03:54   nicks
Reply With Quote #1

Well Hello...
I Have 20 Cvars.
player_1-10
ip_1-10
...
Well, I Want when i type .nicks on the server
Code:
register_clcmd("say .teams", "MakeTeams", ADMIN_ALL, "Make The Teams")
register_clcmd("say_team .teams", "MakeTeams", ADMIN_ALL, "Make The Teams")
Retrive IpS OF ALL PLAYERS, And Check:
If the ip Of one player is IP_1 change players nick to value of cvar player_1...
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 06-22-2009 , 04:00   Re: nicks
Reply With Quote #2

Use get_cvar_num, then check if(IP_1).

PHP Code:
public function(id)
{
    if(
IP_1)
    {
        
// Do something
    
}

__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 06-22-2009 , 04:01   Re: nicks
Reply With Quote #3

hOw can i get the iPs O ALL PLAYERS ON THE SERVER
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 06-22-2009 , 04:06   Re: nicks
Reply With Quote #4

Loop through the players using get_maxplayers or get_players, then get_user_ip.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 06-22-2009 , 04:10   Re: nicks
Reply With Quote #5

i don't know a lot of pawn...
I am only 14 years old , and i am from greece, I don't know a lot of english and pawn.. Please can made it for me ?
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 06-22-2009 , 06:23   Re: nicks
Reply With Quote #6

??
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 06-22-2009 , 06:54   Re: nicks
Reply With Quote #7

Quote:
Originally Posted by ProIcons View Post
i don't know a lot of pawn...
I am only 14 years old , and i am from greece, I don't know a lot of english and pawn.. Please can made it for me ?
then i ask u " WTF ARE U DOING HERE?"

for request ur in wrong forum here.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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:42.


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