Quote:
Originally Posted by SomebodyAndMe
pawn Код:
public IsAtClothShop(playerid) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid,25.0,207.5627,-103.7291,1005.2578) || IsPlayerInRangeOfPoint(playerid,25.0,203.9068,-41.0728,1001.8047)) // line 2107 {//Binco & Suburban return 1; } else if(IsPlayerInRangeOfPoint(playerid,30.0,214.4470,-7.6471,1001.2109) || IsPlayerInRangeOfPoint(playerid,50.0,161.3765,-83.8416,1001.8047)) {//Zip & Victim return 1; } } return 0; }
|
I was just about to change all those PlayerToPoint's to IsPlayerInRangeOfPoint! Thanks bruh.
Secondly @ThreadPoster - Change all the PlayerToPoint's to IsPlayerInRangeOfPoint the way SomebodyAndMe has done this! In the same format.