help with this :D
#1

Who can help me then chat to see in range 30 meters please help
Search skype: rumen98 to help please i cant make with ProxDetector
who can help me ?

here is code:
PHP код:
public OnPlayerText(playeridtext[])
{
    if(
PlayerInfo[playerid][pAdmin] == 8)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{FF3333}[Owner]{33CCFF}%s: %s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 7)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{FF3333}[Co-Owner]{33CCFF}%s: %s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 6)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{33AA33}[Head-Admin]{AFAFAF}%s: %s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 5)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{33CCFF}[Scripter]{AFAFAF}%s: %s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 4)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{0088FF}[Admin]{AFAFAF}%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 3)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{FF9900}[Moderator]{AFAFAF}%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 2)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{9ACD32}[Mega VIP]{AFAFAF}%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][pAdmin] == 1)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{FFFF00}[VIP]{AFAFAF}%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][Police] == 3)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{0088FF}[Leader]%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][Police] == 2)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{0088FF}[Officer]%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    else if(
PlayerInfo[playerid][Police] == 1)
    {
        new 
pName[MAX_PLAYER_NAME], String[128];
        
GetPlayerName(playeridpName24);
        
format(Stringsizeof(String), "{0088FF}[Cadet]%s:%s"pNametext);
        
SendClientMessageToAll(-1,String);
        return 
0;
    }
    return 
0;

Reply


Messages In This Thread
help with this :D - by rumen98 - 27.07.2012, 14:40
Re: help with this :D - by Devilxz97 - 27.07.2012, 14:49
Re: help with this :D - by rumen98 - 27.07.2012, 15:04
Re: help with this :D - by Devilxz97 - 27.07.2012, 15:06
Re: help with this :D - by rumen98 - 27.07.2012, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)