Help, gate command
#1

Need bad help with this moving gate
sais "cmd is not defined"
if(strcmp(cmd, "/eup", true) == 0) { // Edit the /eup to your elevator command.
MoveObject(elevator,209.4848,1875.2593,12.4170,2.0 0); // Put your cords in here
SendClientMessage(playerid, COLOR_RED, "You are now going up, Please Wait."); // You dont alwas have to put this in, delete if wanted.
return 1;
}
if(strcmp(cmd, "/edown", true) == 0) { // Same deal as before
MoveObject(elevator,-1489.413085,2624.461914,60.960697,2.00); // Same deal as before
SendClientMessage(playerid, COLOR_RED, "The Elevator is now comming, Please Wait."); // Same deal as before
return 1;
}
Reply


Messages In This Thread
Help, gate command - by braduz - 13.01.2010, 18:49
Re: Help, gate command - by Stah - 13.01.2010, 19:45
Re: Help, gate command - by braduz - 13.01.2010, 20:09

Forum Jump:


Users browsing this thread: 2 Guest(s)