18.01.2015, 05:15
Hello everyone i have this script :
But if the player has V.I.P in chat appears [Admin] tag
Код:
if ( PlayerInfo [ playerid ] [ Vip ] ==1 || PlayerInfo [ playerid ] [ Vip ] ==2 || PlayerInfo [ playerid ] [ Vip ] ==3 ) { format ( str , 1500 , "%s{FFFFFF}[%d]{00FF00}[V.I.P]: {FFFFFF}%s" ,GetName(playerid), playerid , text [ 0 ] ) ; SendClientMessageToAll (0xFFFF00FF , str ) ; return 0; } if ( PlayerInfo [ playerid ] [ Level ] < 6 ) { format ( str , 1500 , "%s{FFFFFF}[%d]{00FF00}[Admin]: {FFFFFF}%s" ,GetName(playerid), playerid , text [ 0 ] ) ; SendClientMessageToAll (0xFFFF00FF , str ) ; return 0; }