LSPD Ramp slow open help
#3

Simple:

Quote:

pdgate2 = CreateDynamicObject(968,1544.700317,-1630.735717,13.096980,-1.000000,-91.000000,269.972869); Ramp close

Quote:

public GateClose5()
{
DestroyDynamicObject( pdgate3 );
pdgate2 = CreateDynamicObject(968,1544.700317,-1630.735717,13.096980,-1.000000,-91.000000,269.972869);
lspdg2 = 0;
return 1;
}

Quote:

else if(IsPlayerInRangeOfPoint(playerid, 15,1544.700317,-1630.735717,13.096980))
{
if(lspdg2 == 1) { SCM(playerid, COLOR_GREY, "** Rampa je vec otvorena"); return 1; }
DestroyDynamicObject( pdgate2 );
pdgate3 = CreateDynamicObject(968,1544.700317,-1630.735717,12.924660,0.000000,0.000000,270.972869 );
SetTimer("GateClose5", 6000, 0);
SCM(playerid, COLOR_BLUE,"Rampa je otvorena i bice zatvorena za 6 sekundi.");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima svoj daljinski i otvara rampu.", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,CO LOR_CHAT5);
lspdg2 = 1;
}

Reply


Messages In This Thread
LSPD Ramp slow open help - by osman2571 - 29.07.2014, 22:07
Re: LSPD Ramp slow open help - by sammp - 29.07.2014, 22:17
Re: LSPD Ramp slow open help - by osman2571 - 29.07.2014, 22:27
Re: LSPD Ramp slow open help - by sammp - 29.07.2014, 22:42
Re: LSPD Ramp slow open help - by osman2571 - 29.07.2014, 22:43
Re: LSPD Ramp slow open help - by sammp - 29.07.2014, 22:45
Re: LSPD Ramp slow open help - by osman2571 - 29.07.2014, 22:49
Re: LSPD Ramp slow open help - by sammp - 29.07.2014, 22:58

Forum Jump:


Users browsing this thread: 2 Guest(s)