How to make this gate be moved...
#6

so?

Код:
new lvpdgate;

//OnGameModeInit
lvpdgate = CreateObject(968,2.20434570,2.36645508,10.53316975,0.00000000,270.00000000,269.99993896);

//OnPlayerCommandText
if(strcmp(cmdtext,"/lvpdpon",true)==0)
{
	if(gTeam[playerid] != TEAM_LVPD)
	return SendClientMessage(playerid, COLOR_YELLOW, "You are not in LVPD!");
	SetObjectRot(lvpdgate,0.00000000,330.00000000,270.00000000);
	SendClientMessage(playerid, COLOR_YELLOW, "Портата е отворена!");
	return 1;
}
if(strcmp(cmdtext,"/lvpdpoff",true)==0)
{
	if(gTeam[playerid] != TEAM_LVPD)
	return SendClientMessage(playerid, COLOR_YELLOW, "You are not in LVPD!");
	SetObjectRot(lvpdgate,0.00000000,270.00000000,269.99993896);
	SendClientMessage(playerid, COLOR_YELLOW, "Портата е затворена!");
	return 1;
}
EDIT: And you have to ask Animation?
Reply


Messages In This Thread
How to make this gate be moved... - by Join7 - 13.07.2011, 14:39
Re: How to make this gate be moved... - by Skaizo - 13.07.2011, 14:49
Re: How to make this gate be moved... - by volune - 13.07.2011, 15:00
Re: How to make this gate be moved... - by Join7 - 13.07.2011, 15:00
Re: How to make this gate be moved... - by volune - 13.07.2011, 15:03
Re: How to make this gate be moved... - by Join7 - 13.07.2011, 15:06

Forum Jump:


Users browsing this thread: 2 Guest(s)