i have a problem :D easy problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: i have a problem :D easy problem (
/showthread.php?tid=158602)
i have a problem :D easy problem -
iJumbo - 10.07.2010
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;
}
Re: i have a problem :D easy problem -
OverSwap - 10.07.2010
what's ur question?
Re: i have a problem :D easy problem -
iJumbo - 10.07.2010
i can do this ? if(Tag(playerid,"[tag]")) && if(Tag(playerid,"[tag2]"))
Re: i have a problem :D easy problem -
Zezombia - 10.07.2010
Ir would be:
pawn Код:
if(Tag(playerid,"[tag]") && Tag(playerid,"[tag2]"))
However I can't say I'm familiar with Tag.
Re: i have a problem :D easy problem -
iJumbo - 10.07.2010
dont work
Re: i have a problem :D easy problem -
Zezombia - 10.07.2010
You must be using the "Tag" function incorrectly.
Edit:
Unless your trying to do this:
pawn Код:
if(Tag(playerid,"[tag]") || Tag(playerid,"[tag2]"))