Move object command - 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: Move object command (
/showthread.php?tid=73319)
Move object command -
[KML]Dabug - 14.04.2009
Ok today i fixed this command
pawn Код:
if(strcmp(cmdtext, "/opensvat1", true) == 0)
{
MoveObject(obj, 0, 0, 8, 2.00 );
return 1;
}
How can i make a closesvat2?
Re: Move object command -
Castle - 14.04.2009
Heres an Example of a Correctly Working Gate with 5 Seconds Timer:
http://pastebin.com/f3ce88f4
Hope it helps
Re: Move object command -
56avenue - 15.04.2009
Quote:
Originally Posted by [KML
Dabug ]
Ok today i fixed this command
pawn Код:
if(strcmp(cmdtext, "/opensvat1", true) == 0) { MoveObject(obj, 0, 0, 8, 2.00 ); return 1; }
How can i make a closesvat2?
|
Move it back to its original place...
Re: Move object command -
Castle - 15.04.2009
Quote:
Originally Posted by Avenue
Quote:
Originally Posted by [KML
Dabug ]
Ok today i fixed this command
pawn Код:
if(strcmp(cmdtext, "/opensvat1", true) == 0) { MoveObject(obj, 0, 0, 8, 2.00 ); return 1; }
How can i make a closesvat2?
|
Move it back to its original place...
|
I already gave him a nice example of a gave with 5 seconds timer, its more useful than 2 cmds to open and close.