11.07.2012, 14:07
Found the problem its this code.
Код:
//Grove HQ if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { PlayerInfo[playerid][pInteriorNr] = 42; SafeSetPlayerPos(playerid, 2351.0479,-1180.8905,1027.9766); GameTextForPlayer(playerid, "~w~Grove Street HQ",5000,1); SafeSetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 90); } else if(hqlock[surlock] == 0) { PlayerInfo[playerid][pInteriorNr] = 42; SafeSetPlayerPos(playerid, 2351.0479,-1180.8905,1027.9766); GameTextForPlayer(playerid, "~w~Grove Street HQ",5000,1); SafeSetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 90); } else { GameTextForPlayer(playerid, "~r~Locked",5000,1); } } else if (IsPlayerInRangeOfPoint(playerid, 1, 2496.0500,-1692.9301,1014.7422,180)) { //Grove HQ PlayerInfo[playerid][pInteriorNr] = 0; SafeSetPlayerPos(playerid, 2495.2263,-1690.4860,14.7656,277.4666); GameTextForPlayer(playerid, "~w~Los Santos",5000,1); SafeSetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 179); }