SA-MP Forums Archive
Copy where? :O - 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)
+--- Thread: Copy where? :O (/showthread.php?tid=317205)



Copy where? :O +rep! - davve95 - 10.02.2012

Hi!.


I saw a tuturial on ******* (Moving gates) and they copied about half code like this:

Edit: He maked it movibale and then copied like this:
[img=http://forumbilder.se/thumbs/810201242315P5450.jpg]

And I don't know where/how I should copy mine..

And the result:

[img=http://forumbilder.se/thumbs/df0201242420P229c.jpg]

The tuturial I saw if u need:

[ame]http://www.youtube.com/watch?v=E_aO0Bp64I4[/ame]


Thanks!


Re: Copy where? :O - KingHual - 10.02.2012

It's obvious he copied the x,y and z coordinates to the MoveObject() function ._.


Re: Copy where? :O - davve95 - 10.02.2012

Quote:
Originally Posted by king_hual
Посмотреть сообщение
It's obvious he copied the x,y and z coordinates to the MoveObject() function ._.
Okay how should I do? ._.


Farily new scripter beginner...


Re: Copy where? :O - KingHual - 10.02.2012

Do what he said ._.


Re: Copy where? :O - davve95 - 10.02.2012

Quote:
Originally Posted by king_hual
Посмотреть сообщение
Do what he said ._.
No because he didn't said he just copeid some where.. Can some one help me?


Re: Copy where? :O - davve95 - 10.02.2012

Can some one help me pls I don't know how to do (+rep)


Re: Copy where? :O - KingHual - 10.02.2012

OK from the CreateObject:
Код:
CreateObject(969, copy this - x, copy this - y, copy this - z,0,0, 87.82 ...);
to the MoveObject:
Код:
MoveObject(Gate, paste here - x, paste here - y, paste here - z, 1);



Re: Copy where? :O - davve95 - 10.02.2012

Quote:
Originally Posted by king_hual
Посмотреть сообщение
OK from the CreateObject:
Код:
CreateObject(969, copy this - x, copy this - y, copy this - z,0,0, 87.82 ...);
to the MoveObject:
Код:
MoveObject(Gate, paste here - x, paste here - y, paste here - z, 1);
Thanks but I don't know to 100 but here is mine code:

Код:
 CreateObject(980,-967.79998779,2715.10009766,52.29999924,0.00000000,0.00000000,277.50000000);
I just need to moving gate thing... Sorry but I didn't knew to 100% how to do xD


Re: Copy where? :O - davve95 - 11.02.2012

Help pleas


Re: Copy where? :O - FireCat - 13.02.2012

pawn Код:
Gate = CreateObject
Not simply doing
pawn Код:
CreateObject
You need to assign an object id to the var, but you're not doing it.