Help me out with this please
#1

I want to make that gates to open with a cmd...and close automatically after some seconds...
In the first SS the gate is closed and the cords are : x:2158.72216796688 y:-63.829551696777 z:7.7667231559753
x:0.0 y:0.0 z:321.99829101563 (rotation)
/imageshack/img525/6...0729093740.png

I want the gate to be open in the right side...like in the 2nd SS

/imageshack/img709/2...0729093803.png
The cords are : x:2149.1650390625 y:-57.427307128906 z:7.7667231559753
x:0.0 y:0.0 z:321.99829101563 (rotation)

If you can make me a pawno code for this gates...i'll be very happy...+a cmd like /open and then after 7 seconds to be closed automatically..
P.S I searched in a lot of topics and tutorials ...and I tryed to do it alone but I dont found nothing...Please help me

Thank you very much,
T4viY
Reply
#2

just

at top

new gate;

onfilterscriptinit

gate = CreateObject(.....

onplayercommandtext

if(strmp(cmdtext,"/move",true) == 0)
{
MoveObject(gate,.......
return 1;
}
Reply
#3

thank you ...I will try to see if works
Reply
#4

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
just

at top

new gate;

onfilterscriptinit

gate = CreateObject(.....

onplayercommandtext

if(strmp(cmdtext,"/move",true) == 0)
{
MoveObject(gate,.......
return 1;
}
can you gimme please a pawn code with all my coordinats cause I tryed and I got a lot of warnings and it doesnt work. Please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)