Jump to content
  • 0

disable vip chat


gogoaxel

Question

public OnPlayerText( playerid, text[ ] )
{
	new textstr[ 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;
	}
	return 1;
}
Si as dori sa ii fac o comanda /disablevipchat Cu includes
#include <a_samp>
#include  <zcmd>
#include <sscanf2>

Va rog ajutati-ma

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.