09.07.2011, 17:26
some can give me a download link for a command gate script?? all my scripts not work
if(strcmp(cmdtext, "/open", true) == 0)
{
MoveObject(gate, cordX, cordY, cordZ, speed); // Normally speed 1 is enough | For coords take the coords of your opened gate
SendClientMessage(playerid, color, "Gate opened!");
}
if(strcmp(cmdtext, "/close'", true) == 0)
{
MoveObject(gate, cordX, cordY, cordZ, speed); // Normally speed 1 is enough | For coords take the coords of your closed gate
SendClientMessage(playerid, color, "Gate closed!");
}