30.10.2011, 20:30
Quote:
O primeiro parвmetro da funзгo IsPlayerInRangeOfPOint deve ser playerid e estб 35, deverб funcionar assim:
pawn Код:
|
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 35.0, 1544.81921387,-1627.77246094,15.15620422))
{
if ((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
{
OnPlayerCommandText(playerid, "/portaodp");
}
return 1;
}