SA-MP Forums Archive
Moving a pickup - 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: Moving a pickup (/showthread.php?tid=393073)



Moving a pickup - phil_lendon - 16.11.2012

I have a code:
pawn Код:
CreateDynamicPickup(1239, 1, 168.2048,-1769.3395,4.4728,0); //Fitt Foundations HQ
    Create3DTextLabel("[Fitt Foundations HQ] \n Press \"ENTER VEHICLE\" to enter the Place.",0xFFFF00AA, 168.2048,-1769.3395,4.4728, 20,0,1);
I want to focus on
pawn Код:
CreateDynamicPickup(1239, 1, 168.2048,-1769.3395,4.4728,0);
What are the numbers? X Y Z I? Please explain to me.


Re: Moving a pickup - Camorra - 16.11.2012

Код:
CreateDynamicPickup(1239, 1, 168.2048,-1769.3395,4.4728,0);



Re: Moving a pickup - phil_lendon - 16.11.2012

I can see that -_- I mean what are they... like name-wise.. X Y Z INT SPD what?


Re: Moving a pickup - Camorra - 16.11.2012

ts like every psition you wlll choose for explain

Код:
SetPlayerPos(playerid, 168.2048,-1769.3395,4.4728);
So, There is the X, Y, Z , Like at the 3Dtext.


Re: Moving a pickup - ReneG - 16.11.2012

The SA world is a 3D coordinate plane, x, y and z stand for the coordinates. Int stands for interior, which are the client-side virtual worlds.


Re: Moving a pickup - Camorra - 16.11.2012

Its like
Код:
  new string[256];
  format(string, sizeof(string), " Text here ");
  Create3DTextLabel(string, COLOR_RED, X, Y, Z , 25, 0, 0);
100 % will works inside int


Re: Moving a pickup - NumbSkull - 16.11.2012

it goes x,y,z,vw,int,**iforget i have it -1 on all**,streamdistance i think on the pickup