/v lock bug
#5

If you dont understand then use it this way
Код:
COMMAND:vehicle(playerid, params[])
{
	new name[15];
	if(sscanf(params, "s[15]", name))
	{
		SendClientMessage(playerid, COLOR_GREY, TEXT_SYNTAX"(/v)ehicle <Usage>");
        SendClientMessage(playerid, COLOR_GREY, "Tip: lock(1-3)");
		return 1;
	}
    if(strcmp(name, "lock1", true) == 0)
    {
        
    }
    else if(strcmp(name, "lock2", true) == 0)
    {
       
    }
	else if(strcmp(name, "lock3", true) == 0)
    {
        
    }
	else
	{
		SendClientMessage(playerid, COLOR_GREY, TEXT_SYNTAX"(/v)ehicle <Usage>");
        SendClientMessage(playerid, COLOR_GREY, "Tip: lock(1-3)");
		return 1;
	}
	return 1;
}
Reply


Messages In This Thread
/v lock bug - by UnAngel - 02.04.2013, 12:22
Re: /v lock bug - by Hanger - 02.04.2013, 12:48
Re: /v lock bug - by UnAngel - 02.04.2013, 13:07
Re: /v lock bug - by faff - 02.04.2013, 13:14
Re: /v lock bug - by Hanger - 02.04.2013, 13:47
Re: /v lock bug - by UnAngel - 02.04.2013, 14:09

Forum Jump:


Users browsing this thread: 2 Guest(s)