SA-MP Forums Archive
How To Check A Players Tag? - 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: How To Check A Players Tag? (/showthread.php?tid=135528)



How To Check A Players Tag? - Micko9 - 20.03.2010

Can someone give me the code so i can make a GetPlayerTag plz? also i want that it checks if the tag example : "[CSV]" is anywhere in their names and not only "[CSV]Player" then it will return positive for "Player[CSV]"

[CURRENT PROBLEM]
view the last posts on page 2 .


Re: How To Check A Players Tag? - GaGlets(R) - 20.03.2010

GetPlayer tag?




Re: How To Check A Players Tag? - Micko9 - 20.03.2010

Quote:
Originally Posted by GaGlets®
GetPlayer tag?

yeah im gonna make it if you show me how to check the tag on the other way .


Re: How To Check A Players Tag? - woot - 20.03.2010

https://sampwiki.blast.hk/wiki/Strfind
strfind with -1 as pos


Re: How To Check A Players Tag? - Micko9 - 20.03.2010

Quote:
Originally Posted by //exora
didnt help too much , i need the full code . strfind function wont help .


Re: How To Check A Players Tag? - Correlli - 20.03.2010

Quote:
Originally Posted by Micko9
didnt help too much , i need the full code . strfind function wont help .
There's a custom function like that on the forum, just search a bit. I think its name is GetClanTag or something similar.


Re: How To Check A Players Tag? - Micko9 - 20.03.2010

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Micko9
didnt help too much , i need the full code . strfind function wont help .
There's a custom function like that on the forum, just search a bit. I think its name is GetClanTag or something similar.
cant find it i have been searching ... maybe 30 mins - 1 h didnt find anything...i tried : GetPlayerTag GetClanTag GetTag ...but no positive results



Re: How To Check A Players Tag? - dice7 - 20.03.2010

Then make one yourself using using strfind and your brain. This place is to help users script, not being their personal scripters


Re: How To Check A Players Tag? - Micko9 - 20.03.2010

Quote:
Originally Posted by dice7
Then make one yourself using using strfind and your brain. This place is to help users script, not being their personal scripters
youre a bit stupid . You said using 2 times + 70 % users that "Get helped" use that help for their personal scripts so help or dont do anything


Re: How To Check A Players Tag? - jameskmonger - 20.03.2010

pawn Код:
public IsCSV(playerid) {
   new name = GetPlayerName(playerid);
   strfind(name, "[CSV]", false);
}