VIP Check
#1

How to check in

Код:
	if (strcmp(cmd, "/vip", true) == 0)
	{
		if(IsPlayerAdmin(playerid))
		{
		    tmp = strtok(cmdtext, idx);
		    new what[8];
		    strmid(what, tmp, false, strlen(cmdtext), 8);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GREY, "USAGE: /vip [Password]");
				return 1;
			}

	    	if(strcmp(what, "thgLLXT1", true, strlen(what)) == 0)
			{
			    //Here the check if Playername is vip?
			}
		}
	}
if the username is vip, Usernames are standing here:
Код:
new Vips[2][1] =
{
    "Username1",
    "Username2"
};
Reply


Messages In This Thread
How do i check this? - by corne - 27.10.2010, 15:31
Re: VIP Check - by Jeffry - 27.10.2010, 16:12
Re: VIP Check - by corne - 27.10.2010, 16:25
Re: VIP Check - by Jeffry - 27.10.2010, 17:01

Forum Jump:


Users browsing this thread: 1 Guest(s)