[Ajuda] GetDistanceFromMeToPoint
#1

Eae galera, й o seguinte, fui compilar meu gm e deu esses erros na parte de GetDistanceFromMeToPoint.

pawn Код:
(40118) : error 017: undefined symbol "GetDistanceFromMeToPoint"
(40122) : error 017: undefined symbol "GetDistanceFromMeToPoint"
OBS: Ja tem a include a_npc

Alguem Poderia me ajudar
Reply
#2

Vocк estб usando o compilador certo?
Reply
#3

Bota Isso no final do Gamemode
pawn Код:
Stock GetDistanceFromMeToPoint(Float:X,Float:Y,Float:Z,Float:tX,Float:tY,Float:tZ)
{
    return Float:floatsqroot((tX-X)*(tX-X)+(tY-Y)*(tY-Y)+(tZ-Z)*(tZ-Z));
}
Reply
#4

pawn Код:
GetPlayerDistanceFromPoint(playerid, x,y,z);
Reply
#5

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Vocк estб usando o compilador certo?
Sim ^^

Quote:
Originally Posted by RafaScripter
Посмотреть сообщение
Bota Isso no final do Gamemode
pawn Код:
Stock GetDistanceFromMeToPoint(Float:X,Float:Y,Float:Z,Float:tX,Float:tY,Float:tZ)
{
    return Float:floatsqroot((tX-X)*(tX-X)+(tY-Y)*(tY-Y)+(tZ-Z)*(tZ-Z));
}
Amigo, coloquei isso e nao deu certo, msm assim vlw ^^

Quote:
Originally Posted by [JD]BlackFire
Посмотреть сообщение
pawn Код:
GetPlayerDistanceFromPoint(playerid, x,y,z);
Deu Certo ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)