04.08.2011, 15:03
pawn Код:
new base;
base = CreateObject(969, -1534.96, 2652.49, 55.00, 0.00, 0.00, 0.00);
if(strcmp(cmdtext, "/bo", true) == 0) { // Edit the /eup to your elevator command.
MoveObject(base,969, -1532.81, 2652.43, 55.00); // Put your cords in here
SendClientMessage(playerid, COLOR_RED, "Base Doors Open!"); // You dont alwas have to put this in, delete if wanted.
return 1;
}
if(strcmp(cmdtext, "/bc", true) == 0) { // Same deal as before
MoveObject(base,969, -1534.96, 2652.49, 55.00); // Same deal as before
SendClientMessage(playerid, COLOR_RED, "Base Doors Closed!"); // Same deal as before
return 1;
}