Gate help
#8

This is the ONLY "movegate" in my script, I believe the script needs something added to it, I just cant put my finger on it.

CMD:movegate(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, 2294.39990234,2499.00000000,10.39999962))
{
if(gStatus == 0)
{
MoveObject(gate,2294.39990234,2499.00000000,10.399 99962,3);
SendClientMessage(playerid, COLOR_GREY, "You successfuly opened the gate");
gStatus = 1;
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2294.39990234,2499.00000000,10.39999962))
{
if(gStatus == 1)
{
MoveObject(gate,2294.39990234,2499.00000000,5.0999 9990,3);
SendClientMessage(playerid, COLOR_GREY, "You successfuly closed the gate");
gStatus = 0;
}
}
return 1;
}
Reply


Messages In This Thread
Gate help - by Krakuski - 19.10.2012, 02:30
AW: Gate help - by BiosMarcel - 19.10.2012, 05:25
Re: Gate help - by RenSoprano - 19.10.2012, 06:14
Re: Gate help - by Krakuski - 19.10.2012, 19:25
Re: Gate help - by gtakillerIV - 19.10.2012, 19:27
Re: Gate help - by Krakuski - 19.10.2012, 19:30
Re: Gate help - by gtakillerIV - 19.10.2012, 19:31
Re: Gate help - by Krakuski - 19.10.2012, 20:36
Re: Gate help - by gtakillerIV - 20.10.2012, 07:35

Forum Jump:


Users browsing this thread: 1 Guest(s)