04.03.2019, 14:07
When im using the option to put my clan tag on it just shows empty brackets like this and the name [].Name
this is my function for the clan tag set.I tried to use it as a stock function but still not working
function SetTag (playerid)
{
new name [ MAX_PLAYER_NAME ];
new newname [ 30 ];
GetPlayerName ( playerid , name , sizeof(name));
format ( newname , sizeof ( newname ) , "[%s].%s", PlayerInfo[playerid][pClanTag], name);
SetPlayerName ( playerid , newname );
return 1;
}
and here the player gets or should get the tag
case DIALOG_ADTAG:
{
if(!response) return 1;
switch(listitem)
{
case 0:
{
SetTag(playerid);
}
}
}
this is my function for the clan tag set.I tried to use it as a stock function but still not working
function SetTag (playerid)
{
new name [ MAX_PLAYER_NAME ];
new newname [ 30 ];
GetPlayerName ( playerid , name , sizeof(name));
format ( newname , sizeof ( newname ) , "[%s].%s", PlayerInfo[playerid][pClanTag], name);
SetPlayerName ( playerid , newname );
return 1;
}
and here the player gets or should get the tag
case DIALOG_ADTAG:
{
if(!response) return 1;
switch(listitem)
{
case 0:
{
SetTag(playerid);
}
}
}