Posts: 19
Threads: 7
Joined: Aug 2012
Reputation:
0
Hi guys... I have a server (still in test version) which is about to open in a few days. And everythingwas going well I have done everything well. I run a test everything was working UNTILL I saw gates!!! So the thing is when I want to open a gate it doesnt opet corectly it rotate for 90 degree and closes just like that. Somethinmes it happens that it flips for 360 (it happens to gates that opens up). They flip to the air. I checket the script and map and everything seemed well but gates wont open. Please HELP i need to make this work......
Posts: 1,391
Threads: 85
Joined: Sep 2012
Reputation:
0
It happened to me and i stayed 1 month for one to help me ! anyways use the latest streamer plugin and include and re-compile IF THE GATES ARE INCLUDED IN THE SCRIPT
Posts: 19
Threads: 7
Joined: Aug 2012
Reputation:
0
Well I tried that but then server wont start
Posts: 638
Threads: 117
Joined: Aug 2012
Reputation:
0
Post your
Createobject
And
moveObject
Posts: 19
Threads: 7
Joined: Aug 2012
Reputation:
0
new lspdg3;
lspdg3 = 0;
else if(IsPlayerInRangeOfPoint(playerid, 15,1643.3337402344, -1715.1926269531, 16.382766723633))
{
if(lspdg3 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Kapija je vec otvorena"); return 1; }
MoveDynamicObject(policijaftw,1643.3337402344, -1715.1926269531, 10.382766723633,3.0);
SetTimer("zatvori", 5000, 0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima svoj daljinski i otvara kapiju PD garaze br.2.", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,CO LOR_CHAT5);
lspdg3 = 1;
}
}
public zatvori()
{
MoveDynamicObject(policijaftw, 1643.3337402344, -1715.1926269531, 16.382766723633, 3.0);
lspdg3 = 0;
return 1;
}
forward zatvori();
here could somebody try to fix it.... Laguage of the script is not english its bosnian but i think mistake should be on english. Please helppppp
Posts: 57
Threads: 9
Joined: Jun 2011
Reputation:
0
MoveDynamicObject(policijaftw,1643.3337402344, -1715.1926269531, 10.382766723633,3.0);
you have to write rotation coordinates
MoveDynamicObject(policijaftw,1643.3337402344, -1715.1926269531, 10.382766723633,3.0,float:rx,float:ry,float:rz);