SA-MP Forums Archive
Why do i get this? - 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: Why do i get this? (/showthread.php?tid=290239)



Why do i get this? [SOLVED] - park4bmx - 15.10.2011

SOLVED well solved it the problem was that i just got the server files i replaced nearly everything except the Server.cfg so then i looked up the differents and there was the logtimeformat [%H:%M:%S] missing i put it in and it all was functional again


When i add this line to my gamemode
pawn Код:
new Float:Distance = GetPlayerDistanceFromPoint(playerid, Gx, Gy, Gz),Str[60];
And then start my server i get this
Код:
Run time error 19: "File or function is not found"
i done couple of testing and yes im sure it is from that line and i do have the R5 Windows Server


Re: Why do i get this? - Salmon - 15.10.2011

GetPlayerDistanceFromPoint is not defined by your includes, find one that has it.


Re: Why do i get this? - park4bmx - 15.10.2011

I have included the Native two /:


Re: Why do i get this? - System64 - 15.10.2011

download again a_samp or float inc's
also visit
https://sampwiki.blast.hk/wiki/GetPlayerDistanceFromPoint


Re: Why do i get this? - park4bmx - 15.10.2011

Quote:
Originally Posted by System64
Посмотреть сообщение
download again a_samp or float inc's
also visit
https://sampwiki.blast.hk/wiki/GetPlayerDistanceFromPoint
the native is in a_players.inc and still dont work /:
compiles 100% no errors no warnnings
but just that what is says in the consol
EDIT well solved it becoue i just got the server fiesl i replaced nearly everything except the Server.cfg so then i looked up the differents and there was the logtimeformat [%H:%M:%S] missing i put it in and it all was functional again