04.03.2019, 18:43
function SetTag (playerid, tag)
{
new name [ MAX_PLAYER_NAME ];
new newname [MAX_PLAYER_NAME];
GetPlayerName ( playerid , name , sizeof(name));
format ( newname , sizeof ( newname ) , "[%s].%s", tag, name);
SetPlayerName ( playerid , newname );
return 1;
}
this is the settag function
{
new name [ MAX_PLAYER_NAME ];
new newname [MAX_PLAYER_NAME];
GetPlayerName ( playerid , name , sizeof(name));
format ( newname , sizeof ( newname ) , "[%s].%s", tag, name);
SetPlayerName ( playerid , newname );
return 1;
}
this is the settag function