SA-MP Forums Archive
/Gate help.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /Gate help.. (/showthread.php?tid=197901)



/Gate help.. - Thomas_A - 10.12.2010

Quote:

(38173) : warning 202: number of arguments does not match definition
(38173) : warning 202: number of arguments does not match definition
(38173) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

3 Warnings.

Код:
	if(strcmp(cmdtext, "/gate", true) == 0)
	{
	    if(IsPlayerInRangeOfPoint(playerid,9,1588.3058,-1637.9652,13.4227))
		{ //FBI GATE
		    if(!IsACop(playerid)) return SendClientMessage(playerid,COLOR_GREY,"   You are not a FBI !");
	    	if(fbigategar==0)
		   	{
		    	fbigategar = 1;
	   			MoveObject(fbigatefencegateobj, 989, 1761.3353271484, -1697.4375, 14.244383811951, 0, 0, 198);
	   		}
		}
		return 1;
	}
What am i doing wrong?



EDIT:

got it working kind of :/
[ame]http://www.youtube.com/watch?v=0NVyDNYBgaQ[/ame]


Re: /Gate help.. - Tessar - 10.12.2010

You need to slow the gate right down. Make it 3.00 thats the average gate speed.


Re: /Gate help.. - Mean - 10.12.2010

And change the move cord