Abrir rejas con una tecla
#4

Quote:
Originally Posted by Jeree10
Посмотреть сообщение
Me olvide de algo osea quiero que por ejemplo cuando un policia este en el auto y aprete la letra Y se abra el porton pero si no esta en el auto no pueda abrirlo.
їComo seria para ponerlo asi con la letra y todo?
pawn Код:
if(newkeys == KEY_YES)
    {
new conductor = GetPlayerState(playerid);
    if(IsAPolicia(playerid)){          
 if(!conductor == PLAYER_STATE_DRIVER) return SendClientMessage(playerid,-1,"Debes Ser Conductor.");
            if (PlayerToPoint(10, playerid,1589.053344,-1638.123168,14.122960)){
                MoveDynamicObject(pdgate1,1599.053344,-1638.123168,14.122960, 0.8);
                PlayerPlaySound(playerid, 1153, 1589.053344,-1638.123168,14.122960);
                return 1;
            }
            if (PlayerToPoint(15, playerid,1545.7398681641, -1627.7280273438, 15.206203460693)){
                MoveDynamicObject(pdgate2,1545.7392578125, -1627.7275390625, 20.381204605103, 3.0);
                SetTimer("GateClose5", 7000, 0);
            }
            }
Reply


Messages In This Thread
Abrir rejas con una tecla - by Jeree10 - 26.07.2014, 19:47
Respuesta: Abrir rejas con una tecla - by juandiegox - 26.07.2014, 20:24
Re: Abrir rejas con una tecla - by Jeree10 - 26.07.2014, 20:43
Respuesta: Re: Abrir rejas con una tecla - by juandiegox - 26.07.2014, 22:10
Re: Abrir rejas con una tecla - by Jeree10 - 27.07.2014, 03:30
Respuesta: Abrir rejas con una tecla - by OTACON - 27.07.2014, 06:56
Respuesta: Abrir rejas con una tecla - by Jeree10 - 27.07.2014, 07:01
Respuesta: Abrir rejas con una tecla - by OTACON - 27.07.2014, 07:27
Respuesta: Re: Abrir rejas con una tecla - by juandiegox - 27.07.2014, 12:08
Respuesta: Abrir rejas con una tecla - by Jeree10 - 27.07.2014, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)