[Ajuda] Portгo
#2

Tenta isso

pawn Код:
#include <a_samp>
#include <core>
#include <float>
#include <a_objects>

new Portao;


main()
{
    print("\n----------------------------------");
    print("-Portao ksa by: Jose_Oliveira-\n");
    print("----------------------------------\n");
    return 0;
}

public OnGameModeInit()
{

 Portao = CreateObject(980,  3468.2998046875, -686.19921875, 6.9000000953674, 0.0000, 0.0000, 90.0001);

return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp(cmdtext, "/ap", true) ==0)
{
MoveObject(Portao,3468.2998046875, -686.19921875,0.30000001192093, 5.0); //CORDENADAS DELE ABERTO
return 1;
}
if (strcmp(cmdtext, "/fp", true) ==0)
{
MoveObject(Portao,3468.2998046875, -686.19921875, 6.9000000953674, 5.0); //CORDENADAS DELE FECHADO
return 1;
}

return 0;
}
Reply


Messages In This Thread
Portгo - by fackbook - 13.01.2013, 02:34
Re: Portгo - by Designer Vibe02 - 13.01.2013, 02:46
Re: Portгo - by Gii - 13.01.2013, 02:53
Respuesta: Portгo - by fackbook - 13.01.2013, 02:54
Respuesta: Re: Portгo - by fackbook - 13.01.2013, 02:58

Forum Jump:


Users browsing this thread: 1 Guest(s)