How do i make Gates move.. - 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: How do i make Gates move.. (
/showthread.php?tid=90109)
How do i make Gates move.. -
Studio - 06.08.2009
If i have
CreateObject(980,-2433.378,496.277,31.834,0.0,0.0,203.359)
and i want to move it like
Quote:
Originally Posted by PAWNO
if(strcmp(cmdtext, "/Btgmwsup", true) ==0)
{
MoveObject(GateBTG, -4136.039551, -1669.828979, 6.540470, 3);
SendClientMessage(playerid, COLOR_GREEN, "You have opened to BTG 'n' MW base /Btgmwsupclose to close the gate!");
return 1;
}
if(strcmp(cmdtext, "/Btgmwsupclose", true) ==0)
{
MoveObject(GateBTG, -4136.039551, -1669.828979, 11.540470, 3);
SendClientMessage(playerid, COLOR_GREEN, "You have closed the BTG 'N' MW base gate");
return 1;
}
|
How do i change the move like
Код:
-4136.039551, -1669.828979, 6.540470, 3
and
Код:
-4136.039551, -1669.828979, 11.540470, 3
Is there any way Changing the position of moving please HELP!
Re: How do i make Gates move.. -
saiberfun - 06.08.2009
Quote:
Originally Posted by Studio
If i have
CreateObject(980,-2433.378,496.277,31.834,0.0,0.0,203.359)
and i want to move it like
Quote:
Originally Posted by PAWNO
if(strcmp(cmdtext, "/Btgmwsup", true) ==0)
{
MoveObject(GateBTG, -4136.039551, -1669.828979, 6.540470, 3);
SendClientMessage(playerid, COLOR_GREEN, "You have opened to BTG 'n' MW base /Btgmwsupclose to close the gate!");
return 1;
}
if(strcmp(cmdtext, "/Btgmwsupclose", true) ==0)
{
MoveObject(GateBTG, -4136.039551, -1669.828979, 11.540470, 3);
SendClientMessage(playerid, COLOR_GREEN, "You have closed the BTG 'N' MW base gate");
return 1;
}
|
How do i change the move like
Код:
-4136.039551, -1669.828979, 6.540470, 3
and
Код:
-4136.039551, -1669.828979, 11.540470, 3
Is there any way Changing the position of moving please HELP!
|
dunno what u mean
explain more explicit
Re: How do i make Gates move.. -
RayPoda - 06.08.2009
Isn't there already a topic on this?
Re: How do i make Gates move.. -
Studio - 07.08.2009
Im not sure maybe there is Ill check.
Re: How do i make Gates move.. -
MadFlavor - 07.08.2009
so u mean u want to move a object with those commands i think well u need if u need this
an object like
btgmesupclose = CreateObject(co-rd);
at top of ur script
new btgmesupclose;
Re: How do i make Gates move.. -
Woet - 07.08.2009
'READ THIS BEFORE POSTING! This goes for Godfather posts too!'