Jump to content
  • 0

Problema tag


Neculai

Question

Problema intalnita (descriere):Deci am codul de mai jos dar daca playerii au vip apare tagul [ADMIN] nu [VIP]
Ero(area / rile) / warning-(ul / urile):0
Liniile de cod / sursa / script-ul:

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;
		}

Imagini / Video (optional):
Ati incercat sa rezolvati singur?:da

Edited by Neculai
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Vezi daca merge asa :

if(PlayerInfo[playerid][Vip] >= 1)
{
	format ( str , 1500 , "%s{FFFFFF}[%d]{00FF00}[V.I.P]: {FFFFFF}%s" ,GetName(playerid), playerid , text [ 0 ] ) ;
	SendClientMessageToAll (0xFFFF00FF , str ) ;
	return 0;
}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.