SA-MP Forums

Go Back   SA-MP Forums > Members List

armandozetaxx Unknown Reputation

armandozetaxx armandozetaxx is offline

Big Clucker

Visitor Messages

Showing Visitor Messages 1 to 1 of 1
  1. luciano123
    25/02/2014 03:59 AM
    luciano123
    hola soy novato quisiera que me digas que esta mal de este filterscripts

    new Puerta;

    public OnFilterScriptInit()
    {
    Puerta = CreateObject(980,2719.8799,-2395.5300,15.6100,0.0000,0.0000,90.6100);return 1;
    return 1;
    }
    }

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/abrir", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 30.0, 2719.8799,-2395.5300,15.6100)) //Posicion donde Se Ejecutara La Funcion
    {
    MoveObject(Puerta,2719.8799,-2395.5300,15.6100,3.0); //Posicion De la Puerta Abierta
    SetTimer("CerrarPuerta", 1000, true); //Tiempo que Se Cerrada Automaticamente
    }
    return 1;
    }

    return 0;
    }

    forward CerrarPuerta(playerid);
    public CerrarPuerta(playerid)
    {
    MoveObject(Puerta,2719.8799,-2405.4300,15.6100,3.0); //Posicion De la Puerta Cerrada
    return 1;
    }

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: 30/09/2017 04:35 PM
  • Join Date: 21/10/2012

All times are GMT. The time now is 10:05 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.