How to make this ?
#1

How to make /prisonopen with prisonopen1 and prisonclose..etc work as one cmd i dunno how to make it ,ty for help!


Код:
if(strcmp(cmd, "/prisonopen", true) == 0) { 
	MoveObject(gate,-2061.1921, -102.8048, 35.7768,2.00); //
	SendClientMessage(playerid, COLOR_RED, "Gates are opening, Please Wait."); 
	return 1;
	}
	
	if(strcmp(cmd, "/prisonclose", true) == 0) { // 
	MoveObject(gate,-2053.2983, -102.4093, 35.7768,2.00); //
	SendClientMessage(playerid, COLOR_RED, "The Gates are closing, Please Wait."); // 
	return 1;
	}
 if(strcmp(cmd, "/prisonopen1", true) == 0) { //
	MoveObject(gate1,-2040.9447, -102.5048, 35.7768,2.00); // 
	SendClientMessage(playerid, COLOR_RED, "Gates are opening, Please Wait."); //
	return 1;
	}
    if(strcmp(cmd, "/prisonclose1", true) == 0) { //
	MoveObject(gate1,-2048.5291, -102.3341, 35.7768,2.00); //
	SendClientMessage(playerid, COLOR_RED, "The Gates are closing, Please Wait."); //
	return 1;
	}
Reply


Messages In This Thread
How to make this ? - by niere - 15.01.2012, 08:53
Re: How to make this ? - by [ABK]Antonio - 15.01.2012, 09:12
Re: How to make this ? - by niere - 15.01.2012, 09:30
Re: How to make this ? - by mineralo - 15.01.2012, 09:46
Re: How to make this ? - by niere - 15.01.2012, 09:50

Forum Jump:


Users browsing this thread: 1 Guest(s)