23.03.2012, 14:34
Quote:
pawn Код:
pawn Код:
|
on to the problem
make sure the CaParkX , Y , Z defines are before that line of code.
place them near the top of you file.
also youll need to add what cell your using
like CarParkX[0] or CarParkX[1]
heres the completed code
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, ParkRange, AHouseData[HouseID][HouseX], AHouseData[HouseID][HouseY], AHouseData[HouseID][HouseZ])||(IsPlayerInRangeOfPoint(playerid, ParkRange, CarParkX[0], CarParkY[0], CarParkZ[0])) || (IsPlayerInRangeOfPoint(playerid, ParkRange, CarParkX[1], CarParkY[1], CarParkZ[1])))
regards,