name hide
#2

Try this:

PHP код:
CMD:hidename(playeridparams[]) 

    if(
PlayerInfo[playerid][VipLevel] == 1) return SendClientMessage(playeridCOLOR_RED"Error: You must be an V.I.P player level 2!"); 
    if(
PlayerInfo[playerid][VipLevel] < 2) return SendClientMessage(playeridCOLOR_RED"Error: You must be a V.I.P player!"); 
    for(new 
0MAX_PLAYERSi++) 
    { 
        
// IsPlayerConnected(i); This should give an error.
        
if (IsPlayerConnected(i))
         { 
              
ShowPlayerNameTagForPlayer(iplayerid0); // I and playerid should be changed check the wiki!
               
GameTextForPlayer(playerid"You have hidden your name for others"40003); 
        } 
    } 
        return 
1

Reply


Messages In This Thread
name hide - by saffierr - 28.09.2015, 20:51
Re: name hide - by jihadmeneer - 28.09.2015, 20:51
Re: name hide - by SnG.Scot_MisCuDI - 28.09.2015, 20:54
Re: name hide - by jihadmeneer - 28.09.2015, 20:55
Re: name hide - by SnG.Scot_MisCuDI - 28.09.2015, 20:56
Re: name hide - by saffierr - 29.09.2015, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)