Clan tag problem
#8

if(PlayerInfo[playerid][pClanTagOn] == 0)
{
PlayerInfo[playerid][pClanTagOn] = 1;
SetTag(playerid, PlayerInfo[playerid][pClanTag]);
SendClientMessage(playerid, -1, "Clan tag:On");
UpdateVariable(playerid, pClanTagOnx);
}
else
{
PlayerInfo[playerid][pClanTagOn] = 0;
// here should be something for instantly removing the tag when the clan tag is off,i dont know how to do that.
SendClientMessage(playerid, -1, "Clan tag:Off");
UpdateVariable(playerid, pClanTagOnx);
}


if(PlayerInfo[playerid][pClanTagOn] == 1)
{
SetTag(playerid, PlayerInfo[playerid][pClanTag]);
}
this is under OnPlayerSpawn callback btw

this is how im checking if the player has the clan tag on,i have the "pClanTagOn" defined and all,but it still doesnt work,when im reconnecting on the server i don't have the tag,i have to put it again,and yes,pClanTagOn has value "1" in the database when im spawning and still does't show my tag only after i activate it again

It would mean a lot if you help me solve this,so please help both with the tag saving after relog and with the tag showing like this [OnlyTheFirstLetterFromTheTag].Name
Reply


Messages In This Thread
Clan tag problem - by bosmania - 04.03.2019, 14:07
Re: Clan tag problem - by hoanduy - 04.03.2019, 14:45
Re: Clan tag problem - by bosmania - 04.03.2019, 15:02
Re: Clan tag problem - by TheToretto - 04.03.2019, 15:54
Re: Clan tag problem - by bosmania - 04.03.2019, 16:17
Re: Clan tag problem - by TheToretto - 04.03.2019, 17:24
Re: Clan tag problem - by bosmania - 04.03.2019, 18:32
Re: Clan tag problem - by bosmania - 04.03.2019, 18:37
Re: Clan tag problem - by bosmania - 04.03.2019, 18:43
Re: Clan tag problem - by Private200 - 04.03.2019, 18:47

Forum Jump:


Users browsing this thread: 4 Guest(s)