Problema intalnita (descriere): Cand compilez gamemode-ul imi apare eroarea: Ero(area / rile) / warning-(ul / urile): error 017: undefined symbol "GetPlayerPos"Liniile de cod / sursa / script-ul(obligatoriu):
public Float:GetDistance(playerid, Float:x, Float:y)
{
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)))
{
Imagini / Video (optional): -Ati incercat sa rezolvati singur?: Incerc sa rezolv asta de cam 2-3 zile.
Mai am la inceputul gamemode-ului codul
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;
}
Si la acest cod am aceiasi eroare.
P.S. Mi-au aparut aceste erori dupa ce am editat Checkpoint-uriile de la DMV