[request] hq
#1

can some one tell me how to make a entrance point only work for a faction for a HQ thanks
Reply
#2

If this is what you mean:
A gate or something similar only opens if the player is of a certain team, use gTeam with PlayerToPoint or a Command.
Reply
#3

well more a pickup to a intrior bu tht should work shouldnt it
Reply
#4

Quote:
Originally Posted by 02manchestera
well more a pickup to a intrior bu tht should work shouldnt it
Yup, it should.

This is what I use.

Код:
 		if (pickupid == grovep && gTeam[playerid] == TEAM_GROVE)
	{
		SetPlayerCheckpoint(playerid,-30.9233,-1128.3617,1.0781,3);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "GO GO GO");
	}
else
	{
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "Your on the wrong team!");
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)