11.08.2013, 18:02
Hello i have problem with vip tag , code is there.
Ingame the Viptag comes but every time if i select the work class like Trucker, comes One tag more .
Like if I die 2 times then i click spawn , and comes (VIP)(VIP)mynick:
How i can make only one vip tag Just need one tag ,.. please help
Ingame the Viptag comes but every time if i select the work class like Trucker, comes One tag more .
Like if I die 2 times then i click spawn , and comes (VIP)(VIP)mynick:
How i can make only one vip tag Just need one tag ,.. please help
PHP код:
if(APlayerData[playerid][PlayerLevel] >= 1)
{
new oldname[MAX_PLAYER_NAME], newname[MAX_PLAYER_NAME];
GetPlayerName(playerid, oldname, sizeof oldname);
format(newname, sizeof newname, "[VIP]%s", oldname);
SetPlayerName(playerid, newname);
SetPlayerColor(playerid, 0xFFFF00AA);
}
return 1;
}