15.08.2012, 17:30
Okay so i am having problems with my gates so its the Gates outside the PD there is 2 of them sitting next to them that look like this -- so when they lift up they rotate around while lifting and they both sit like this | | I just want the to go straight up without turning but can't seem to get it, i can let you log on and have a look. and use TV to show you the whole Script as the reception one is wrong too but i will post that one when this one is fixed.
PHP код:
{
if(Flspdgatestate == 0)
{
new string[128];
format(string,sizeof(string), "* %s uses %s remote to open the gates of the LSPD.", PlayerNameEx(playerid), HisHer(playerid));
MoveDynamicObject(flspdgate[0], 1545.00, -1626.20, 1978.43, 7.0);
MoveDynamicObject(flspdgate[1], 1545.00, -1631.66, 19878.43, 7.0);
SetTimer("GateCloseflspdgate", 7000, 0);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
Flspdgatestate = 1;
return 1;
}
else
{
new string[128];
format(string,sizeof(string), "* %s uses %s remote to close the gates of the LSPD.", PlayerNameEx(playerid), HisHer(playerid));
MoveDynamicObject(flspdgate[0], 1545.00, -1626.20, 13.43, 7.0);
MoveDynamicObject(flspdgate[1], 1545.00, -1631.66, 13.43, 7.0);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
Flspdgatestate = 0;
return 1;