SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 20/01/2012, 05:08 PM   #1
Eugene.
Huge Clucker
 
Eugene.'s Avatar
 
Join Date: Jan 2012
Posts: 252
Reputation: 19
Default Gates Problem

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.



Last edited by Eugene.; 27/01/2012 at 11:50 AM.
Eugene. is offline   Reply With Quote
Old 20/01/2012, 05:23 PM   #2
Guest9328472398472
Guest
 
Posts: n/a
Default Re: Gates Problem

(1)Your script is based off what? (2)Did you change .distance too .streamsistance in your script?
  Reply With Quote
Old 20/01/2012, 10:12 PM   #3
Eugene.
Huge Clucker
 
Eugene.'s Avatar
 
Join Date: Jan 2012
Posts: 252
Reputation: 19
Default Re: Gates Problem

1. Roleplay.
2. What you mean ?
Eugene. is offline   Reply With Quote
Old 20/01/2012, 10:20 PM   #4
Guest9328472398472
Guest
 
Posts: n/a
Default Re: Gates Problem

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.
  Reply With Quote
Old 20/01/2012, 10:22 PM   #5
Eugene.
Huge Clucker
 
Eugene.'s Avatar
 
Join Date: Jan 2012
Posts: 252
Reputation: 19
Default Re: Gates Problem

Quote:
Originally Posted by Brandon Javorsky View Post
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.
Eugene. is offline   Reply With Quote
Old 20/01/2012, 10:40 PM   #6
Guest9328472398472
Guest
 
Posts: n/a
Default Re: Gates Problem

I'm not sure..what the problem is..provide me with a command that uses the gate.
  Reply With Quote
Old 20/01/2012, 10:44 PM   #7
Eugene.
Huge Clucker
 
Eugene.'s Avatar
 
Join Date: Jan 2012
Posts: 252
Reputation: 19
Default Re: Gates Problem

Code:
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);
	  		}
		}
Eugene. is offline   Reply With Quote
Old 22/01/2012, 09:47 PM   #8
Eugene.
Huge Clucker
 
Eugene.'s Avatar
 
Join Date: Jan 2012
Posts: 252
Reputation: 19
Default Re: Gates Problem

Anyone?
Eugene. is offline   Reply With Quote
Old 26/01/2012, 07:07 AM   #9
Eugene.
Huge Clucker
 
Eugene.'s Avatar
 
Join Date: Jan 2012
Posts: 252
Reputation: 19
Default Re: Gates Problem

Bump.
Eugene. is offline   Reply With Quote
Old 26/01/2012, 07:17 AM   #10
Ahrim
Big Clucker
 
Join Date: Dec 2011
Posts: 145
Reputation: 24
Default Re: Gates Problem

Wait? dont spam posting, just to get on the top.
__________________
Ahrim is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with the gates! Setkus Scripting Help 6 05/01/2012 05:53 PM
[PROBLEM] Gates Script Help Dodo9655 Help Archive 1 29/01/2011 05:00 PM
auto gates problem billiout Help Archive 4 01/08/2010 11:12 AM
Moving gates problem 4 ! Kirchhoff Help Archive 7 16/04/2010 06:19 PM
[HELP]Problem with gates krisko Help Archive 1 11/08/2009 08:50 PM


All times are GMT. The time now is 12:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.