30.09.2010, 11:25
Hello. There. I am going to make some gates that only SWAT can open, yeah, I defined the teams (Team ID is 1 for SWAT)
Here are my gate codes:
Here are my gate codes:
pawn Код:
if (strcmp("/swdeschide", cmdtext, true, 10) == 0)
{
MoveObject(swatgate, 1632.111,-1849.007,15.385, 3.0);
SendClientMessage(playerid, COLOR_CYAN, "SWAT Poarta Deschisa");
return 1;
}
if (strcmp("/swinchide", cmdtext, true, 10) == 0)
{
MoveObject(swatgate, 1622.170,-1849.053,15.266, 3.0);
SendClientMessage(playerid, COLOR_CYAN, "SWAT Poarta Inchisa");
return 1;
}