more gates
#4

thx problem solved

but i got a new problem my 2nd gate moves away to nowhere not to the place in the script

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/xsd", true) == 0)
{
MoveObject(Gate, 249.687729, 433.796722, 0.0898772, 3.00);
SendClientMessage(playerid, 0x00ff00, "Gate Down");
return 1;
}
if(strcmp(cmdtext, "/xsu", true) == 0)
{
MoveObject(Gate, 249.692200, 433.822876, 57.365799, 3.00);
SendClientMessage(playerid, 0x00ff00, "Gate Up");
return 1;
}
if(strcmp(cmdtext, "/xsro", true) == 0)
{
MoveObject(Roof, 18450, 283.639709, 354.576416, 3.00);
SendClientMessage(playerid, 0x00ff00, "Roof Open");
return 1;
}
if(strcmp(cmdtext, "/xsrc", true) == 0)
{
MoveObject(Roof, 18450, 277.404968, 369.266449, 3.00);
SendClientMessage(playerid, 0x00ff00, "Roof Closed");
return 1;
}
return 0;
}
Reply


Messages In This Thread
more gates - by pleiter - 09.10.2010, 19:05
Re: more gates - by WillyP - 09.10.2010, 19:08
Re: more gates - by Backwardsman97 - 09.10.2010, 19:09
Re: more gates - by pleiter - 09.10.2010, 21:18
Re: more gates - by pleiter - 10.10.2010, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)