i have a problem :D easy problem
#1

i make this command
pawn Код:
if(strcmp(cmdtext, "/test", true)==0) //zporta
    {
        if(Tag(playerid,"[tag]"))
        {
    }
    else
    {
    }
    return 1;
}
for 2 tags i can make
i make this command
pawn Код:
if(strcmp(cmdtext, "/test", true)==0) //zporta
    {
        if(Tag(playerid,"[tag]")) && if(Tag(playerid,"[tag2]"))
        {
    }
    else
    {
    }
    return 1;
}
Reply
#2

what's ur question?
Reply
#3

i can do this ? if(Tag(playerid,"[tag]")) && if(Tag(playerid,"[tag2]"))
Reply
#4

Ir would be:

pawn Код:
if(Tag(playerid,"[tag]") && Tag(playerid,"[tag2]"))
However I can't say I'm familiar with Tag.
Reply
#5

dont work
Reply
#6

You must be using the "Tag" function incorrectly.

Edit:

Unless your trying to do this:

pawn Код:
if(Tag(playerid,"[tag]") || Tag(playerid,"[tag2]"))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)