Making one command
#3

pawn Код:
new bool:DashCamActivated[MAX_PLAYERS];
pawn Код:
CMD:dcam(playerid, params[])
{
    if(DashCamActivated[playerid] == false)
    {
        //do all stuff to turn it on
        DashCamActivated[playerid] = true;
    }
    else
    {
         DashCamActivated[playerid] = false;
          //do stuff to turn it off
     }
     return 1;
}
Reply


Messages In This Thread
Making one command - by lulo356 - 31.12.2014, 01:50
Re: Making one command - by Ciarannn - 31.12.2014, 04:04
Re: Making one command - by Schneider - 31.12.2014, 04:32
Re: Making one command - by lulo356 - 31.12.2014, 11:58
Re: Making one command - by Write - 31.12.2014, 12:05
Re: Making one command - by lulo356 - 31.12.2014, 13:05
Re: Making one command - by lulo356 - 31.12.2014, 14:31
Re: Making one command - by LivingLikeYouDo - 31.12.2014, 14:35
Re: Making one command - by lulo356 - 31.12.2014, 15:15

Forum Jump:


Users browsing this thread: 3 Guest(s)