Posts: 33
Threads: 4
Joined: Aug 2009
Reputation:
0
Here I am again with another question. Is it possible for players to take a skin picking only possible with a TAG before their name?
For example: People with [COP] infront of their name can pick the skin but people without that TAG can't pick the skin.
Posts: 33
Threads: 4
Joined: Aug 2009
Reputation:
0
Hello anyone can help or answer me?
Posts: 304
Threads: 16
Joined: Jan 2010
Reputation:
0
if no one will post dont make another post to tell if we can help you no you cant have that thing with tag
Posts: 33
Threads: 4
Joined: Aug 2009
Reputation:
0
Could there be an other system than? I don't want everyone to take Police team
Posts: 1,535
Threads: 90
Joined: Feb 2010
Reputation:
0
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if(strfind(pName, "[COP]", true) == 0)
{
//ur code
}
else
{
SendClientMessage(playerid,COLOR_RED,"You Don't Have [COP] In Your Name");
}
Posts: 1,535
Threads: 90
Joined: Feb 2010
Reputation:
0
that code check if the name has [COP] anywhere in his name , if he does , he can get it
Posts: 33
Threads: 4
Joined: Aug 2009
Reputation:
0
I want to try that... Under what line do I have to add that?
Posts: 304
Threads: 16
Joined: Jan 2010
Reputation:
0
i dont know maybe it will work