SA-MP Forums Archive
[HELP]With my gates - 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: [HELP]With my gates (/showthread.php?tid=101311)



[HELP]With my gates - Lilcuete - 09.10.2009

Код:
if(!strcmp(cmdtext, "/chrisopen", true)) //
{
MoveObject(gate1,1812.641357, -2085.991943, 12.721228,5);
   	
	return 1;
}
if(!strcmp(cmdtext, "/chrisclose", true)) // 
{
MoveObject(gate1,1813.387207, -2069.811523, 12.719982,5);

	return 1;
}
how come its not working it doesnt open or close

heres the code for it to open


CreateObject(969, 1812.641357, -2085.991943, 12.721228, 0.0000, 0.0000, 88.5219);

? please help me



Re: [HELP]With my gates - SlashPT - 09.10.2009

you have to put gate1 = CreateObject(969, 1812.641357, -2085.991943, 12.721228, 0.0000, 0.0000, 88.5219);