Gate Isnt Closing?
#7

Quote:
Originally Posted by Backwardsman97
Посмотреть сообщение
Try this.

pawn Код:
if(strcmp("/Modshopgateopen", cmdtext, true) == 0)
{
    MoveObject(garage, 1694.30664062,758.06933594,15.19236946, 2.0);
    GameTextForPlayer(playerid, "Garage ~r~opening", 5000, 6);
    PlayerPlaySound(playerid,1057,0,0,0);
    return 1;
}
if(strcmp("/Modshopgateclose", cmdtext, true) == 0)
{
    MoveObject(garage, 1694.30664062,758.06933594,11.65923691,  2.0);
    GameTextForPlayer(playerid, "Garage ~g~closing", 5000, 6);
    PlayerPlaySound(playerid,1057,0,0,0);
    return 1;
}
Thanks! That worked! but how would i to make it all one command? just like

/modshopgate

and thats the only command needed
Reply


Messages In This Thread
Gate Isnt Closing? - by Shockey HD - 20.07.2011, 05:00
Re: Gate Isnt Closing? - by Backwardsman97 - 20.07.2011, 05:25
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 05:50
Re: Gate Isnt Closing? - by PotH3Ad - 20.07.2011, 05:54
Re: Gate Isnt Closing? - by XGh0stz - 20.07.2011, 05:55
Re: Gate Isnt Closing? - by Backwardsman97 - 20.07.2011, 06:30
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 06:57
Re: Gate Isnt Closing? - by [MG]Dimi - 20.07.2011, 07:00
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 07:07
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 07:19

Forum Jump:


Users browsing this thread: 3 Guest(s)