Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by Norn
Quote:
Originally Posted by [HiC
TheKiller ]
pawn Код:
new Pname[24]; GetPlayerName(playerid, Pname, 24); if(!strcmp(Pname, "[GSV]", true, 5)) { //Player has the [GSV] tag. } else { //Player cant chose it! }
|
Strfind would it not be.
|
Not exactly. I used strcmp for the first 5 characters in the name so it compares that. Strfind would search the whole playername for the [GSV], most clans only use it at the front.
|
Ah didn't read the whole line just looked at the strcmp bit, my bad