Why not working?
#1

Код:
/// GATE SYSTEM BY TUNTUN!

#include <a_samp>
#include <zcmd>

new Gate1;

public OnFilterScriptInit()
{
	Gate1 = CreateObject(968,2423.5000000,-2094.8000488,13.3000002,0.0000000,353.9998779,270.0000000);
	print("\n--------------------------------------");
	print(" Gate system loaded!");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}
CMD:closegate(playerid,params[])
{
	MoveObject(Gate1,2423.50000, -2094.80005, 13.30000,2.9);
	return 1;
}
CMD:opengate(playerid,params[])
{
	MoveObject(Gate1,2423.5000000,-2094.8000488,13.3000002,2.9);
	return 1;
}
CMD:gatesystem(playerid,params[])
{
	SetPlayerPos(playerid,2423.5000000,-2094.8000488,13.3000002);
	return 1;
}
Nothing happens in game.
Reply
#2

All coordinates are identical, there's nowhere to move.
Reply
#3

Any coordinates not working.. check it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)