19.07.2010, 08:29
I can't really figure out what to put in the login command so it would change the player's name.
I can't get it to load the tag and put it inside the [] tag.
This is what I tried. I've put it in the login command after "GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);" line.
IG it gives me: []Name.
I can't get it to load the tag and put it inside the [] tag.
This is what I tried. I've put it in the login command after "GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);" line.
pawn Код:
format(nTag, sizeof(nTag), "[%s]%s", PlayerInfo[playerid][pClanTag], ReturnPlayerName);
SetPlayerName(playerid, nTag);