gate close problem
#1

Ok i scripted the gate to open and i made the time for it to close But it wont close !


Код:
	if(!strcmp(cmdtext, "/impound", true))
	{
        if(PlayerInfo[playerid][pJob] != 7) {
			SendClientMessage(playerid, COLOR_BLUE,"The impound gate is opened and will close in 7 seconds.");
            SendClientMessage(playerid, COLOR_GREY, "You are not a Car Mechanic!");
            return 1;
        }
        if (IsPlayerInRangeOfPoint(playerid, 15,1638.2725,-1146.0609,23.9063)) {
            MoveDynamicObject(impoundgate1,1638.9386,-1141.2346,36.2896, 0.8);
	      	SetTimer("GateClose6", 12000, 0);
            format(string, sizeof(string), "* %s takes out his/her impound remote and opens the gate.", sendername);
            ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
        }
        return 1;
    }
Reply


Messages In This Thread
gate close problem - by viddo - 17.02.2012, 21:11
Re: gate close problem - by Darius_Fontaine - 17.02.2012, 21:34
Re: gate close problem - by viddo - 17.02.2012, 21:42
Re: gate close problem - by Nuke547 - 17.02.2012, 21:51
Re: gate close problem - by viddo - 17.02.2012, 22:05
Re: gate close problem - by Darius_Fontaine - 18.02.2012, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)