A little help
#2

pawn Код:
if(strcmp(cmdtext, "/gate1", true, 10) == 0) { // Edit the /eup to your elevator command.
MoveObject(gate1, 985.34210205078, 1755.7589111328, 12.696279525757, 2); // Put your cords in here
SendClientMessage(playerid, COLOR_GREEN, "Gate Opened Type /gate1close to close the Gate."); // You dont alwas have to put this in, delete if wanted.
return 1;}
if(strcmp(cmdtext, "/gate1close", true, 10) == 0) { // Same deal as before
MoveObject(gate1, 997.34210205078, 1755.7589111328, 12.696279525757, 2); // Same deal as before
SendClientMessage(playerid, COLOR_GREEN, "Gate Closed Type /gate1 to open the Gate."); // Same deal as before
return 1;}
if(strcmp(cmdtext, "/gate2", true, 10) == 0) { // Edit the /eup to your elevator command.
MoveObject(gate2, 985.29022216797, 1711.0880126953, 12.680534362793, 2); // Put your cords in here
SendClientMessage(playerid, COLOR_GREEN, "Gate Opened Type /gate2close to close the Gate."); // You dont alwas have to put this in, delete if wanted.
return 1;}
if(strcmp(cmdtext, "/gate2close", true, 10) == 0) { // Same deal as before
MoveObject(gate2, 997.29022216797, 1711.0880126953, 12.680534362793, 2); // Same deal as before
SendClientMessage(playerid, COLOR_GREEN, "Gate Closed Type /gate2 to open the Gate."); // Same deal as before
return 1;}
Try it.
Reply


Messages In This Thread
A little help - by willsuckformoney - 23.06.2010, 15:47
Re: A little help - by Jeffry - 23.06.2010, 15:51
Re: A little help - by willsuckformoney - 23.06.2010, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)