PlayerToPoint
#3

Quote:
Originally Posted by TheFlyer
Посмотреть сообщение
fix it by doing
pawn Код:
public IsAtLicenseplace(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 10.0, 362.4653, 173.7711, 1008.3828))
    return 1;
}
This won't fix anything. You only changed the indentation, which has no effect at all. To actually fix the problem, either add a return 0 at the end of the function or use a simplification:
pawn Код:
IsAtLicensePlace(playerid)
    return IsPlayerInRangeOfPoint(playerid, 10.0, 362.4653, 173.7711, 1008.3828);
I doubt the function needs to be public so that keyword can (or rather, should) be omitted.
Reply


Messages In This Thread
PlayerToPoint - by DarkWolfff - 26.03.2014, 20:20
Re: PlayerToPoint - by TheFlyer - 26.03.2014, 20:25
Re: PlayerToPoint - by Vince - 26.03.2014, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)