Is this possible ??
#1

Hello again

I have a little question, is this possible to make something like adding a gang tag into a players name by typing a command ?

Like for example players name is Madafaka and when he types /ballaz it adds a gang tag in front of his name so his name would be [Ballaz]Madafaka

is this possible ? can you help me to make something like this please ?? Thank you !
Reply
#2

Don't know if it works but try -->


Код:
	if(strcmp("/ballaz",cmdtext,true) == 0)
	{
	GetPlayerName(playerid,name,sizeof(name));
	format(string,sizeof(string),"%s [ballaz]",name);
	SetPlayerName(playerid,string);
	return 1;
	}


MFG Bearfist
Reply
#3

Код:
	if(!strcmp("/ballaz",cmdtext,true))
	{
       new playername[24],string[50];
	GetPlayerName(playerid,playername,sizeof(playername));
	format(string,sizeof(string),"[Ballaz]%s",playername);
	return SetPlayerName(playerid,string);
	}
Reply
#4

Thanks a lot ! it works CruncH ! and how can i make something like by typing a command get back to the previous name ??:> from [Ballaz]Madafaka to MAdafaka again ??:> thanks again :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)