public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if( (newkeys & KEY_FIRE) ) { if(IsPlayerInRangeOfPoint(p,5,pos[0],pos[1],pos[2])) { SetPlayerHealth(playerid,-1); } } return 1; } |
pwn(533) : error 017: undefined symbol "IsPlayerInRangeOfPoint" |