Gates Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Gates Problem (
/showthread.php?tid=312232)
Gates Problem -
Eugene. - 20.01.2012
Hello. I got a problem with my moveable gates , when I open it they start flying around and stuff.
1. I changed the plugin with 0.3d
2. I changed the include with the 0.3d too and still doing the same thing. Please help me. Thanks
I give rep.
[ame]http://www.youtube.com/watch?v=ftqxUvUBFC8[/ame]
Re: Gates Problem - Guest9328472398472 - 20.01.2012
(1)Your script is based off what? (2)Did you change .distance too .streamsistance in your script?
Re: Gates Problem -
Eugene. - 20.01.2012
1. Roleplay.
2. What you mean ?
Re: Gates Problem - Guest9328472398472 - 20.01.2012
1. I mean like NGG, Ravens RP..what is it?
2. Search for ".distance" or ".streamdistance" in your script and tell me which one you find.
Re: Gates Problem -
Eugene. - 20.01.2012
Quote:
Originally Posted by Brandon Javorsky
1. I mean like NGG, Ravens RP..what is it?
2. Search for ".distance" or ".streamdistance" in your script and tell me which one you find.
|
1. Is a original script , not Raven's or NGG...
2. I can't find .distrance and .streamdistance in my GM.
Re: Gates Problem - Guest9328472398472 - 20.01.2012
I'm not sure..what the problem is..provide me with a command that uses the gate.
Re: Gates Problem -
Eugene. - 20.01.2012
Код:
if(strcmp(cmdtext, "/gate", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,9,1588.3058,-1637.9652,13.4227))
{ // TFA Gate
if(!IsACop(playerid) && !IsABH(playerid)) return SendClientMessage(playerid,COLOR_GREY," You are not a Cop / TFA / SAST / BH!");
if(pdgategar==0)
{
pdgategar = 1;
MoveObject(pdgaragegateobj, 1588.965698, -1637.882690, 7.710285, 1.50);
format(string, sizeof(string), "* %s take the remove out and press the the button for open the gate", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else if(pdgategar==1)
{
pdgategar = 0;
MoveObject(pdgaragegateobj, 1588.965698, -1637.882690, 15.260185, 1.50);
format(string, sizeof(string), "* %s take the remove out and press the the button for close the gate", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
Re: Gates Problem -
Eugene. - 22.01.2012
Anyone?
Re: Gates Problem -
Eugene. - 26.01.2012
Bump.
Re: Gates Problem -
Ahrim - 26.01.2012
Wait? dont spam posting, just to get on the top.