Jump to content
  • 0

Question

5 answers to this question

Recommended Posts

Posted

8.Function "PlayerToPoint" is not implemented:

Aceasta eroare iti spune ca functia "PlayerToPoint" nu este implementata.Ca sa rezolvi aceasta eroare, trebuie sa implementezi functia:

[pawn]

PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)

{

new Float:oldposx, Float:oldposy, Float:oldposz;

new Float:tempposx, Float:tempposy, Float:tempposz;

GetPlayerPos(playerid, oldposx, oldposy, oldposz);

tempposx = (oldposx -x);

tempposy = (oldposy -y);

tempposz = (oldposz -z);

if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))

{

return 1;

}

return 0;

}

[/pawn]

in rest nu mai stiu

dar sigur a modificat prietenul ala al tau ceva ce nu trebuia

M-am lasat de comunitatea sa-mp.ro

Posted

Contacteaza tu prima oara regulamentul.

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.