Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

Vreau sa fac la un job ca atunci cand apasa Tasta Y in spatele vehicului sa se intample ceva dar am nev de acea tasta y in spatele vehiculului, daca imi puteti spune cum este comanda de ex:

If press y behind vehicle

{

}

Nu stiu cat de bine v-am explicat :))

Posted

Functia de a gasi coordonata spatelui a vehiculului este:

 

GetXYBehindVehicle(vehicleid, &Float:q, &Float:w, Float:distance)
{
	new Float:a;
	GetVehiclePos(vehicleid, q, w, a);
	GetVehicleZAngle(vehicleid, a);
	q += (distance * -floatsin(-a, degrees));
	w += (distance * -floatcos(-a, degrees));
}

iar

http://wiki.sa-mp.com/wiki/OnPlayerKeyStateChange

Te va ajuta cu tasta.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

Esti un geniu omule, pur si simplu multumesc!

Iubesc oamenii care isi gasesc putin din timpu lor liber si sunt serios si raspund la asa ceva! Respect!

Posted

T/C

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.