help 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 gates (
/showthread.php?tid=77862)
help gates -
luckie12 - 15.05.2009
hi i need help with moving gates
can anyone help me send a code
and anyone helop me with make this for the moving gate:
pawn Код:
CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);
anyone can help me ty
Re: help gates -
luckie12 - 15.05.2009
Quote:
Originally Posted by luckie12
hi i need help with moving gates
can anyone help me send a code
and anyone helop me with make this for the moving gate:
pawn Код:
CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);
anyone can help me ty
|
plz anyone can help me?
Re: help gates -
luckie12 - 15.05.2009
plzzzz help meee
Re: help gates -
Derksen123 - 15.05.2009
Код:
ADD AT THE TOP OF THE SCRIPT
new MOVEGATE;
AT THIS AT ONPLAYERCOMMANDTEXT
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/MOVEGATECLOSE", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,272.734,2.5);
return 1;
}
if (strcmp(cmdtext, "/MOVEGATEOPEN", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,267.734,2.5);
return 1;
}
//--------------------------------------[GATE]------------------------------------------------------
ADD THIS AT ONGAMEMODEINIT
MOVEGATE = CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);//MOVEGATE
If its dont go far enough open say it
so commands are /movegateopen /movegateclose
Re: help gates -
luckie12 - 16.05.2009
Quote:
Originally Posted by Derksen123
Код:
ADD AT THE TOP OF THE SCRIPT
new MOVEGATE;
AT THIS AT ONPLAYERCOMMANDTEXT
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/MOVEGATECLOSE", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,272.734,2.5);
return 1;
}
if (strcmp(cmdtext, "/MOVEGATEOPEN", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,267.734,2.5);
return 1;
}
//--------------------------------------[GATE]------------------------------------------------------
ADD THIS AT ONGAMEMODEINIT
MOVEGATE = CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);//MOVEGATE
If its dont go far enough open say it
so commands are /movegateopen /movegateclose
|
and can you do that with this?
pawn Код:
CreateObject(980, 1557.510864, -2539.105957, 15.320267, 0.0000, 0.0000, 0.0000);
ty alot plzzz help
Re: help gates -
luckie12 - 16.05.2009
Quote:
Originally Posted by luckie12
Quote:
Originally Posted by Derksen123
Код:
ADD AT THE TOP OF THE SCRIPT
new MOVEGATE;
AT THIS AT ONPLAYERCOMMANDTEXT
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/MOVEGATECLOSE", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,272.734,2.5);
return 1;
}
if (strcmp(cmdtext, "/MOVEGATEOPEN", true)==0)
{
MoveObject (MOVEGATE,1385.557,-2688.828,267.734,2.5);
return 1;
}
//--------------------------------------[GATE]------------------------------------------------------
ADD THIS AT ONGAMEMODEINIT
MOVEGATE = CreateObject(980, 1385.557617, -2688.828857, 272.734619, 0.0000, 0.0000, 270.0000);//MOVEGATE
If its dont go far enough open say it
so commands are /movegateopen /movegateclose
|
and can you do that with this?
pawn Код:
CreateObject(980, 1557.510864, -2539.105957, 15.320267, 0.0000, 0.0000, 0.0000);
ty alot plzzz help
|
plzzz anyone help me
Re: help gates -
BP13 - 16.05.2009
you
Really need to stop bumping this