noob question
#1

how create a gate which opened only for cops(pd/fbi/ng)?
Reply
#2

pawn Код:
#define TEAM_CIV 0
#define TEAM_PD 1
#define TEAM_FBI 2

if(strcmp(cmdtext, "/opengate1", true, 10) == 0)
{
if(gTeam[playerid] == 1 && gTeam[playerid] == 2)
{
MoveObject(.....);
SendClientMessage(playerid, color, "Gates are opening...");
}
else
{
SendClientMessage(playerid, coloe, "Youre not FBI/PD");
}
}
Reply
#3

thanks a lot
Reply
#4

Quote:
Originally Posted by Francesco_Totti
Посмотреть сообщение
thanks a lot
no problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)