[aju]Portao naum abre com A BUZINA
#4

Quote:
Originally Posted by CyNiC
Посмотреть сообщение
O primeiro parвmetro da funзгo IsPlayerInRangeOfPOint deve ser playerid e estб 35, deverб funcionar assim:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 35.0, 1544.81921387,-1627.77246094,15.15620422))
{
    if ((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
    {
        OnPlayerCommandText(playerid, "/portaodp");
    }
}
return 1;
}
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 35.0, 1544.81921387,-1627.77246094,15.15620422))
{
    if ((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
    {
        OnPlayerCommandText(playerid, "/portaodp");
    }
    return 1;
}
Ouve uma chave a mais..
Reply


Messages In This Thread
[aju]Portao naum abre com A BUZINA - by kshorro - 30.10.2011, 18:59
Re: [aju]Portao naum abre com A BUZINA - by Jason_King - 30.10.2011, 19:44
Re: [aju]Portao naum abre com A BUZINA - by CyNiC - 30.10.2011, 19:50
Re: [aju]Portao naum abre com A BUZINA - by Miqueias Barros - 30.10.2011, 20:30
Re: [aju]Portao naum abre com A BUZINA - by Lуs - 30.10.2011, 20:32
Re: [aju]Portao naum abre com A BUZINA - by [S]trong - 30.10.2011, 20:38
Re: [aju]Portao naum abre com A BUZINA - by Cristhian - 30.10.2011, 20:41
Re: [aju]Portao naum abre com A BUZINA - by array13 - 30.10.2011, 20:44

Forum Jump:


Users browsing this thread: 3 Guest(s)