[HELP]undefined symbol "IsPlayerInRangeOfPoint"
#1

why i have error whil i typing "IsPlayerInRangeOfPoint"



public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if( (newkeys & KEY_FIRE) )
{
if(IsPlayerInRangeOfPoint(p,5,pos[0],pos[1],pos[2]))
{
SetPlayerHealth(playerid,-1);
}
}
return 1;
}

errors:

Quote:

pwn(533) : error 017: undefined symbol "IsPlayerInRangeOfPoint"

Reply
#2

What is 'p'?

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,5,pos[0],pos[1],pos[2]))
And maybe you don't have #include <a_samp> at the top of your script?
Reply
#3

dude i have #include <a_samp>
Reply
#4

Do not create multiple threads for one simple question...

Probably you use old includes, redownload 0.3 and overwrite your pawno/includes folder
Reply
#5

Re-download the latest includes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)