SA-MP Forums Archive
Help me out with this please - 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 me out with this please (/showthread.php?tid=163897)



Help me out with this please - T4vY - 29.07.2010

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


Re: Help me out with this please - willsuckformoney - 29.07.2010

just

at top

new gate;

onfilterscriptinit

gate = CreateObject(.....

onplayercommandtext

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


Re: Help me out with this please - T4vY - 29.07.2010

thank you ...I will try to see if works


Re: Help me out with this please - T4vY - 29.07.2010

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.