Problem - 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: Problem (
/showthread.php?tid=658206)
Problem -
KinderClans - 26.08.2018
So, i have a dynamic vendor system and in this loop (while i load all vendors), i created an actor:
pawn Код:
new VendorActor;
VendorActor = CreateActor(168, VendorData[i][vendorPos][0], VendorData[i][vendorPos][1], VendorData[i][vendorPos][2], VendorData[i][vendorPos][3]);
Actors are showing without problems, but...
As you can see, the actor is literally INSIDE the vending object. (When people says: I'm inside this vending system..)
How to put actor a bit back the vending object?
Thanks.
Re: Problem -
KinderClans - 26.08.2018
Spawn position of what? Actor or vendor machine?
EDIT: Fixed!
I had to add +1.5 when setting actor pos.