Quote:
Originally Posted by Stah™
pawn Код:
if(strcmp(cmdtext, "/eup", true) == 0) { // Edit the /eup to your elevator command. MoveObject(elevator,209.4848,1875.2593,12.4170,2.00); // 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(cmdtext, "/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; }
Just change the "cmd" to "cmdtext"
|
dude....thank you so much!!