31.03.2009, 12:56
Код:
if(strcmp(cmd, "/opengate1", true) == 0) { // Edit the /eup to your elevator command. MoveObject(yamgate,186,787.1932,-1140.3800,23.8281,88.0325); // Put your cords in here SendClientMessage(playerid, COLOR_RED, "Gate opened"); // You dont alwas have to put this in, delete if wanted. return 1; } if(strcmp(cmd, "/closegate1", true) == 0) { // Same deal as before MoveObject(yamgate,186,787.2402,-1152.0308,23.6529,272.9844); // Same deal as before SendClientMessage(playerid, COLOR_RED, "Gate closed."); // Same deal as before return 1; }
I did also
Код:
new yamgate
Help me pleSE/.