Problem with operators (DUTY NAME TAGS)
#1

Hello i have problem with operators (==,!=,>,>=, etc) i tried edit dutys tags with color so i made more tags bat problem is that if i try do something like this. Its doesnt work.
Код:
    if(pInfo[playerid][pAdminLevel] < 1 && pInfo[playerid][pVipLevel] < 1)
    {
    format(sudasnx, sizeof(sudasnx), "{d8b713}(VIP){09ed09}(M){%06x}%s{FFFFFF}(%i): {FFFFFF}%s", GetPlayerColor(playerid) >>> 8, name, playerid, text);
    }
Bat if i do with one variable checking tag showing fine.
Код:
    else if(pInfo[playerid][pAdminLevel] == 1)
    {
    format(sudasnx, sizeof(sudasnx), "{09ed09}(M){%06x}%s{FFFFFF}(%i): {FFFFFF}%s", GetPlayerColor(playerid) >>> 8, name, playerid, text);
    }
Код:
    else if(pInfo[playerid][pVipLevel] !=  1)
    {
    format(sudasnx, sizeof(sudasnx), "{d8b713}(VIP){%06x}%s{FFFFFF}(%i): {FFFFFF}%s", GetPlayerColor(playerid) >>> 8, name, playerid, text);
    }
Bat i need make it show together because if you have admin and vip at the same time it will show only (VIP) tag, so i trie use operators bat when i change it at any ways it bugged sometimes doesn't show or sometimes just colors doesnt change. So there is pastebin with all my tags

https://pastebin.com/JFCjDNYJ
Reply


Messages In This Thread
Problem with operators (DUTY NAME TAGS) - by Pokemon64 - 14.04.2017, 20:45
Re: Problem with operators (DUTY NAME TAGS) - by Pokemon64 - 15.04.2017, 08:20
Re: Problem with operators (DUTY NAME TAGS) - by GangstaSunny. - 15.04.2017, 08:26
Re: Problem with operators (DUTY NAME TAGS) - by Vince - 15.04.2017, 08:34
Re: Problem with operators (DUTY NAME TAGS) - by Pokemon64 - 15.04.2017, 15:22
Re: Problem with operators (DUTY NAME TAGS) - by J0sh... - 15.04.2017, 15:24
Re: Problem with operators (DUTY NAME TAGS) - by Pokemon64 - 15.04.2017, 15:43
Re: Problem with operators (DUTY NAME TAGS) - by Pokemon64 - 15.04.2017, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)