Gate problem
#2

Here is a quick fix for you
pawn Код:
#include <a_samp>

new elevator;

public OnGameModeInit()
{
elevator = CreateObject( 987 , 2727.0444335938, -1150.2025146484, 68.4140625 , 0.000000 , 0.000000 , 358.000000 );
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/d2up", true) == 0)
{
MoveObject(elevator,2727.0439453125, -1150.2021484375, 73.439033508301,2.00); // Put your cords in here
return 1;
}
if(strcmp(cmdtext, "/d2down", true) == 0)
{
MoveObject(elevator,2727.0444335938, -1150.2025146484, 68.4140625,2.00); // Same deal as before
return 1;
}
return 0;
}
Reply


Messages In This Thread
Gate problem - by buljons - 06.02.2010, 20:37
Re: Gate problem - by Fj0rtizFredde - 06.02.2010, 22:15
Re: Gate problem - by buljons - 07.02.2010, 08:28

Forum Jump:


Users browsing this thread: 2 Guest(s)