Jump to content

Question

Posted

Deci Vreau sa stiu si eu cum pot Pune la

OnPlayerText

sa Pun la Un Player In fata Numelui (VIP)

eu am incercat ceva dar numi arata

sistemu vip este alui speedy daca stiti va rog ajutatima..

560x95_FFFFFF_FF9900_000000_000000.png

2 answers to this question

Recommended Posts

Posted

uite inlocuieste OnPlayerText din script cu asta:

public OnPlayerText( playerid, text[ ] )
{
	new textstr[ 128 ], str[ 128 ];

	if ( text[ 0 ] == '!' && P_DATA[ playerid ][ Vip ] >= 1 )
	{
		GetPlayerName( playerid, textstr, sizeof( textstr ) );
		format( textstr, sizeof( textstr ),"V.I.P Chat: {00FF00}%s{FF5500}: %s", textstr, text[ 1 ] );
		SendVipMessage( COLOR_VIP, textstr );
		return 0;
	}
	if ( P_DATA[ playerid ][ Vip ] >= 1 )
	{
	    format( str, sizeof( str ), "{E60000}(VIP): {FFFFFF}%s", text );
		SendPlayerMessageToAll( playerid, str );
	    return 0;
	}
	return 1;
}

Fara reclama in semnatura!

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.