30.08.2012, 20:14
@ThePhenix I already defined it..
@Roko_Foko you're right, I removed it..
The gate moves towards the X axis and keeps on moving
Whole gate script
Any help?
@Roko_Foko you're right, I removed it..
The gate moves towards the X axis and keeps on moving
Whole gate script
pawn Код:
dcmd_gk1(playerid, params[])
{
#pragma unused params
SetTimerEx("CloseGate", 2000, false, "i", playerid);
MoveObject(Gate1, 1241.40002441, 767.09997559, 87.09999847, 3.0, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_PINK, "Welcome to Kh4led's mansion");
return 1;
}
new Gate1;
Gate1 = CreateObject(969, 1241.40002441, -767.09997559, 91.09999847, 0.0, 0.0, 0.0, 100.0);
forward CloseGate(playerid);
public CloseGate(playerid)
{
MoveObject(Gate1, 1241.40002441, 767.09997559, 91.09999847, 3.0, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFF00FFFF, "Kh4led's mansion gate one closed.");
}