PDA

View Full Version : Why do i get this?


park4bmx
15/10/2011, 12:57 AM
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

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

Salmon
15/10/2011, 02:36 AM
GetPlayerDistanceFromPoint is not defined by your includes, find one that has it.

park4bmx
15/10/2011, 07:22 AM
I have included the Native two /:

System64
15/10/2011, 07:31 AM
download again a_samp or float inc's
also visit
http://wiki.sa-mp.com/wiki/GetPlayerDistanceFromPoint

park4bmx
15/10/2011, 07:42 AM
download again a_samp or float inc's
also visit
http://wiki.sa-mp.com/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 ;)