SA-MP Forums Archive
How get coords FLOAT - 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: How get coords FLOAT (/showthread.php?tid=468037)



How get coords FLOAT - Manowar - 06.10.2013

Hello. How get coords

pawn Код:
new Float: x1 = 2075.0239;
new Float: y1 = 1391.4772;
new Float: z1 = 10.6719;

new Float: x2 = 2085.0239;
new Float: y2 = 1401.4772;
new Float: z2 = 20.6719;
new Float: Update = 2.0;
Me need printf();
Sample
pawn Код:
//+=2.0;
printf("2077.0239");
printf("1393.4772");
printf("12.6719");

printf("2079.0239");
printf("1395.4772");
printf("14.6719");

printf("2081.0239");
printf("1397.4772");
printf("16.6719");

printf("2083.0239");
printf("1399.4772");
printf("18.6719");

printf("2085.0239");
printf("1401.4772");
printf("20.6719");
How make for help floatcos and floatsin and for()?

Sorry my bad English, me need help real Scripter's, thanks


Re: How get coords FLOAT - Manowar - 06.10.2013

Help me


Re: How get coords FLOAT - xganyx - 06.10.2013

Exemple:
pawn Код:
printf("%f",x1+2.0);



Re: How get coords FLOAT - Manowar - 06.10.2013

Quote:
Originally Posted by xganyx
Посмотреть сообщение
Exemple:
pawn Код:
printf("%f",x1+2.0);
No no no, me need use for() + floatcin and floatcos


Re: How get coords FLOAT - Reynolds - 06.10.2013

me you need proper english speeak cuz we dont cant under stood nothing.

Learn English, seriously.


Re: How get coords FLOAT - Manowar - 06.10.2013

Can I use the ****** translator. Chill the fuck it is.


Re: How get coords FLOAT - Manowar - 06.10.2013

Help


AW: How get coords FLOAT - Nero_3D - 06.10.2013

You always increased the coordinates by 2.0, why do you need than floatcos and floatsin ?
Do you want to create a line of objects or something like that ?


Re: How get coords FLOAT - DanishHaq - 06.10.2013

No one can help you if we don't know what you're saying... I don't understand what you want to do myself. Your signature shows better English knowledge of yourself than on this topic to be honest. Try and break it down and explain it to us in steps of what you want, and show us what you want it to do to, because with the original post I don't understand anything.


Re: AW: How get coords FLOAT - Manowar - 06.10.2013

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
You always increased the coordinates by 2.0, why do you need than floatcos and floatsin ?
Do you want to create a line of objects or something like that ?
Yes. I need function MovePlayer, This feature should work as MoveObject, but the move did not object and the player