Moving gates problem ! It's FilterScript !
#2

Код:
#include <a_samp>
new gate;
new Pwla;

#define COLOR_YELLOW 0xFFFF00AA
public OnFilterScriptInit ()
{
  gate = CreateObject(971,-3361.159,28.543,7.073,0.0,0.0,-90.000);
	Pwla = CreateObject(975,1245.174,-767.056,92.753,0.0,0.0,0.0);
  return 1;
}

public OnPlayerCommandText (playerid, cmdtext[])
{
  if (strcmp(cmdtext, "/adminopen2", true) == 0)
  {
    MoveObject(gate, -3361.159,28.543,13.648,3);
    SendClientMessage(playerid, COLOR_YELLOW,"Welcome to V.I.P Base !");
    return 1;
  }
  if (strcmp(cmdtext, "/adminclose2", true) == 0)
  {
    MoveObject(gate, -3361.159,28.543,7.073,3);
    SendClientMessage(playerid, COLOR_YELLOW,"GoodBye and come back to V.I.P base");
    return 1;
  }
  if (strcmp(cmdtext, "/mdo", true) == 0)
  {
    MoveObject(gate, 1245.174,-767.056,98.028,3);
    SendClientMessage(playerid, COLOR_YELLOW,"Hello");
    return 1;
  }
  if (strcmp(cmdtext, "/mdc", true) == 0)
  {
    MoveObject(gate, 174,-767.056,92.753,3);
    SendClientMessage(playerid, COLOR_YELLOW,"GoodBye");
    return 1;
  }

	return 0;
}
But You haven't used the symbol / object "Pwla"
Reply


Messages In This Thread
Moving gates problem ! It's FilterScript ! - by Kirchhoff - 06.06.2009, 05:22
Re: Moving gates problem ! It's FilterScript ! - by farse - 06.06.2009, 05:29
Re: Moving gates problem ! It's FilterScript ! - by Kirchhoff - 06.06.2009, 05:30
Re: Moving gates problem ! It's FilterScript ! - by Kirchhoff - 06.06.2009, 05:32
Re: Moving gates problem ! It's FilterScript ! - by Kirchhoff - 06.06.2009, 05:35

Forum Jump:


Users browsing this thread: 1 Guest(s)