Multiply Object - 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: Multiply Object (
/showthread.php?tid=427101)
Multiply Object -
colonel-top - 31.03.2013
Hello Guys I Have Question Because i dont know how to :P
if i want to create multiply object like
pawn Код:
new obj = Createobject........ ,
Createobject...............,
Createobject...............,
Createobject...............,
Createobject...............,
And obj is All Object like examples : when i type /up all obj will create together all how can i do this ? Sorry For my bad english lol Thx Guys ! ^_^
Re: Multiply Object -
zxc1 - 31.03.2013
You can define few objects as one name.
But you may use
pawn Код:
new obj[5];
obj[0] = CreateObject...
obj[1] = CreateObject...
And so on.
For the command, you will have to make each object move individually.
Re: Multiply Object -
colonel-top - 31.03.2013
thank you very much ^_^