15.08.2013, 02:50
Quote:
Strcmp is a good way aswell if you dont want to make a dynamic system but if I was you I would stick with strcmp if there is only 3 people that I want to make private if its more I wiuld stick with y_Ini and i cant post examples cause I am connected via my phone leave a msg on my pm and I will help sou tomorrow
|
pawn Код:
stock findName(playerid)
{
new pname[MAX_PLAYER_NAME];
else if(strfind(pname,"PUTNAMEHERE",true) != (-1)) return 0;
}
pawn Код:
if(findName(playerid)) // then wrap everything inside it then: else return SendClientMEssage(playerid, -1, "You dont have permission to use this");

