22.11.2011, 18:53
For example i have the underneath line,
And i would like to enable that admins(all admins) can also open the gate (im just asking for one gate so i know how to use it on the other gates too.)
Thanks in Advance!
And i would like to enable that admins(all admins) can also open the gate (im just asking for one gate so i know how to use it on the other gates too.)
Thanks in Advance!
PHP код:
if (!strcmp("/lsmsopen", cmdtext))
{
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 3)
{
if(IsPlayerInRangeOfPoint(playerid, 10.0, 1128.59997559, -1740.90002441, 9.50000000))
{
MoveObject(Gate, 1128.59997559, -1740.90002441, 9.50000000, 1); //fType 1
SendClientMessage(playerid, 0xEF994300, "Opening Gate.");
return 1;
}
}
}