19.02.2009, 19:03
Eh, no.
EDIT:
Nvm, you edited your post.
pawn Код:
if(strcmp(cmdtext,"/opengate", true) == 0)
{
if (gTeam[playerid] == TEAM_POLICE)
{
if(PlayerToPoint(15.0, playerid,2333.207764, 2440.335449, 5.064778) == 1)
{
MoveObject(LVPDgate, 2333.207764, 2440.335449, 0.064778, 1.500000);
}
else
{
SendClientMessage(playerid, COLOR_COLOR, "You arn't at the correct location");
}
}
/*
else
{
SendClientMessage(playerid, COLOR_COLOR, "You are not an officer");
}
*/
}
return 1;
}
Nvm, you edited your post.