[Pomoc]Ulaz u Jail

Započeo Sic Macko :D, Oktobar 15, 2011, 10:14:27 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Moja
Detaljan opis problema: Ja sam dosao do jaila u kucam /jailgore, on se popne gore ali nece da side dole.
Dio skripte: if(!strcmp(cmdtext, "/jailgore", true))
{
if(IsPlayerConnected(playerid))
{
   if(GetPlayerState(playerid) == 1)
   {
       {
           if(PlayerToPoint(1.0,playerid,1799.3348,-1577.8462,14.0738))
           {
            SetPlayerPos(playerid, 1782.4512,-1557.1636,22.9387);
            GameTextForPlayer(playerid, "~y~Jail",5000,1);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
       }
   }
}
return 1;
}

if(!strcmp(cmdtext, "/jaildole", true))
{
   if(IsPlayerConnected(playerid))
{
   if(GetPlayerState(playerid) == 1)
   {
       if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
       {
           if(PlayerToPoint(1.0,playerid,782.6310,-1557.0588,22.9382))
           {
            SetPlayerPos(playerid, 1799.3348,-1577.8462,14.0738);
            GameTextForPlayer(playerid, "~w~Garaza Uprave Policije",5000,1);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
       }
   }
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Kordinati za silazak dole
1782.4512,-1557.1636,22.9387
kordinati na kojim se stvori kada kuca cmd za dole
1782.6310,-1557.0588,22.9382
Moderator:
Prefix ispravljen!
Poslednja Izmena: Oktobar 15, 2011, 10:15:28 PRE PODNE od MicroD

Ime Servera: Security RolePlay
Server IP: Uskoro !

dragan12

if(PlayerToPoint(1.0,playerid,1782.6310,-1557.0588,22.9382))  //Tako stavis za /jaildole
Vidi sta ti fali
Poslednja Izmena: Oktobar 15, 2011, 10:16:30 PRE PODNE od [BD]Gagi