Scripting a gate command help!! -
MatriXScoT - 14.10.2012
Hey guys so I really want to make this gate work but no idea how to make it work, I want it to move up I have mapped the gates Closed, Open
closed -
pawn Код:
CreateObject(980,1337.30004883,687.90002441,12.60000038,0.00000000,0.00000000,270.00000000);
open -
pawn Код:
CreateObject(980,1337.30004883,687.90002441,17.65099907,0.00000000,0.00000000,270.00000000);
Re: Scripting a gate command help!! -
Azazelo - 14.10.2012
https://sampwiki.blast.hk/wiki/MoveObject
look here
Re: Scripting a gate command help!! -
Ghost_Boii - 14.10.2012
PHP код:
new gate;
gate = CreateObject(980,1337.30004883,687.90002441,12.60000038,0.00000000,0.00000000,270.00000000);
Command You Make Now i can't make them because i am in mobile
For Opening = MoveObject(980,1337.30004883,687.90002441,17.65099907,3,0.00000000,0.00000000,270.00000000);
For Closing = MoveObject(980,1337.30004883,687.90002441,12.60000038,3,0.00000000,0.00000000,270.00000000);
This Will work if You know how to make command if you don't know just take it from my military restaurant map
Re: Scripting a gate command help!! -
MatriXScoT - 14.10.2012
Quote:
Originally Posted by Azazelo
|
I'm not good in reading i'm more visual :L if some one made a video on this i spent like 2 hours now looking for a video

and still nothing that's why i posted here
Re: Scripting a gate command help!! -
Ghost_Boii - 14.10.2012
Make The Command and in my FS i didn't add sendclientmessage i forgot that in next version i will add it
Re : Re: Scripting a gate command help!! -
lelemaster - 14.10.2012
Quote:
Originally Posted by Ghost_Boii
PHP код:
new gate;
gate = CreateObject(980,1337.30004883,687.90002441,12.60000038,0.00000000,0.00000000,270.00000000);
Command You Make Now i can't make them because i am in mobile
For Opening = MoveObject([COLOR="Red"]980[/COLOR],1337.30004883,687.90002441,17.65099907,3,0.00000000,0.00000000,270.00000000);
For Closing = MoveObject([COLOR="Red"]980[/COLOR],1337.30004883,687.90002441,12.60000038,3,0.00000000,0.00000000,270.00000000);
This Will work if You know how to make command if you don't know just take it from my military restaurant map
|
These codes are completly wrong, these are good:
Код:
gate = CreateObject(980,1337.30004883,687.90002441,12.60000038,0.00000000,0.00000000,270.00000000);
MoveObject(gate,1337.30004883,687.90002441,17.65099907,3,0.00000000,0.00000000,270.00000000);
MoveObject(gate,1337.30004883,687.90002441,12.60000038,3,0.00000000,0.00000000,270.00000000);
Re: Scripting a gate command help!! -
MatriXScoT - 14.10.2012
Does anyone have a Video Tutorial on making this? I am confused with this :L I'm scripting for 3-2 days now and i totally have no idea where to put this code in my GM
Re: Scripting a gate command help!! -
JhnzRep - 15.10.2012
Do you use strcmp or ZCMD(YCMD or any other command processor except strcmp)?
Re: Scripting a gate command help!! -
MatriXScoT - 15.10.2012
Quote:
Originally Posted by JhnzRep
Do you use strcmp or ZCMD(YCMD or any other command processor except strcmp)?
|
ZCMD