AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   nicks (https://forums.alliedmods.net/showthread.php?t=95289)

ProIcons 06-22-2009 03:54

nicks
 
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...

Xellath 06-22-2009 04:00

Re: nicks
 
Use get_cvar_num, then check if(IP_1).

PHP Code:

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



ProIcons 06-22-2009 04:01

Re: nicks
 
hOw can i get the iPs O ALL PLAYERS ON THE SERVER

Xellath 06-22-2009 04:06

Re: nicks
 
Loop through the players using get_maxplayers or get_players, then get_user_ip.

ProIcons 06-22-2009 04:10

Re: nicks
 
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 ?

ProIcons 06-22-2009 06:23

Re: nicks
 
??

One 06-22-2009 06:54

Re: nicks
 
Quote:

Originally Posted by ProIcons (Post 854002)
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.


All times are GMT -4. The time now is 15:42.

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