Help with easy command
#2

Код:
new DutySomething[MAX_PLAYERS] = 0; + OnPlayerConnect DutySomething[playerid] = 0;
Код:
CMD:duty(playerid, params[])
{
    if(DutySomething[playerid] == 0)
	{
 		//Duty Goes Here On
 		DutySomething[playerid] = 1;
	}
   	else if(DutySomething[playerid] == 1)
	{
    	//Duty Goes Here Off
   		DutySomething[playerid] = 0;
	}
	return 1;
}
Reply


Messages In This Thread
Help with easy command - by Chrillzen - 15.10.2013, 19:39
Re: Help with easy command - by David (Sabljak) - 15.10.2013, 19:43
Re: Help with easy command - by Tomix - 15.10.2013, 19:45
Re: Help with easy command - by DanishHaq - 15.10.2013, 19:51
Re: Help with easy command - by Chrillzen - 15.10.2013, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)