[pomoc] oko ulazka u interijer

Započeo Vince1, Decembar 08, 2014, 21:13:07 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: sa neta
Opis problema o kojem se radi: ubacio sam da ulazim u interijer i izlam iz njega preko komande enter i kada dodjem do mjesta i stisnem enter ono udje u interijer i odma me vrati ispred exterijera
Dio skripte: 
Slika (neobavezno):
if( newkeys == KEY_SECONDARY_ATTACK )
{
if( IsPlayerInRangeOfPoint( playerid, 2.0, 1405.2769,-1692.8981,13.5505 ) ) // interex ext
SetPlayerPos( playerid, 1452.6071,-1690.5590,-34.3111 ); // interex int
}
{
if( IsPlayerInRangeOfPoint( playerid, 2.0,  1452.6071,-1690.5590,-34.3111 ) ) // interex int
SetPlayerPos( playerid, 1405.2769,-1692.8981,13.5505 ); // interex ext
}
    {
if( IsPlayerInRangeOfPoint( playerid, 2.0,  1305.3640,-1341.6250,13.6719 ) ) // merkator ext
SetPlayerPos( playerid, 1554.9911,-1418.3728,-7.9110 ); // merkator int
}
{
if( IsPlayerInRangeOfPoint( playerid, 2.0,  1554.9911,-1418.3728,-7.9110 ) ) // merkator int
SetPlayerPos( playerid, 1305.3640,-1341.6250,13.6719 ); // merkator ext
}
Poslednja Izmena: Decembar 08, 2014, 23:05:43 POSLE PODNE od TiXoR_

 
if(PlayerToPoint(2.0, playerid,x,y,z))// ulaz
{
SetPlayerPos(playerid,x,y,z);
SetPlayerFacingAngle(playerid, 88.3604);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid, "~w~MERCATOR", 3000, 1);
  }
else if(PlayerToPoint(2.0, playerid,x,y,z))//izlaz
  {
SetPlayerPos(playerid,x,y,z);
SetPlayerFacingAngle(playerid, 358.8228);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid, "~w~Los Santos", 3000, 1);
  }

dao mi je jedan lik na drugom forumu sta da ubacim i ja sam to ubacio i izbacuje da imam nesta ne definisano
evo to sta mi je dao
if( newkeys == KEY_SECONDARY_ATTACK )
{
    if( IsPlayerInRangeOfPoint( playerid, 2.0, 1405.2769,-1692.8981,13.5505 ) ) // interex ext
    {
        SetPlayerPos( playerid, 1452.6071,-1690.5590,-34.3111 ); // interex int
    }
    if( IsPlayerInRangeOfPoint( playerid, 2.0,  1452.6071,-1690.5590,-34.3111 ) ) // interex int
    {
        SetPlayerPos( playerid, 1405.2769,-1692.8981,13.5505 ); // interex ext
    }
    if( IsPlayerInRangeOfPoint( playerid, 2.0,  1305.3640,-1341.6250,13.6719 ) ) // merkator ext
    {
SetPlayerPos( playerid, 1554.9911,-1418.3728,-7.9110 ); // merkator int
    }
    if( IsPlayerInRangeOfPoint( playerid, 2.0,  1554.9911,-1418.3728,-7.9110 ) ) // merkator int
    {
        SetPlayerPos( playerid, 1305.3640,-1341.6250,13.6719 ); // merkator ext
    }
    return 1;
}

i ove mi eror izbacuje
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6516) : error 017: undefined symbol "CreateGlobalTextdraws"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6522) : error 017: undefined symbol "PostaviDefPostavke"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6533) : error 017: undefined symbol "FajlRentVozila"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6533) : error 017: undefined symbol "UcitajRentVozilo"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6541) : error 017: undefined symbol "BankFilePath"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6542) : error 017: undefined symbol "LoadBank"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6547) : error 017: undefined symbol "ATMFilePath"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6547) : error 017: undefined symbol "LoadATM"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6559) : error 017: undefined symbol "SpremiRentVozilo"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6909) : error 017: undefined symbol "SavePlayerData"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6910) : error 017: undefined symbol "ToggleSpeedoTimer"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6919) : error 017: undefined symbol "FajlIgraca"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6921) : error 017: undefined symbol "PlayerName"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6924) : error 017: undefined symbol "FajlIgraca"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6926) : error 017: undefined symbol "PostaviNovac"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6931) : error 017: undefined symbol "PlayerName"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6947) : error 017: undefined symbol "kick"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6951) : error 017: undefined symbol "PokusajPrijavitIgraca"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6956) : error 017: undefined symbol "PlayerName"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6965) : error 017: undefined symbol "kick"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6976) : error 017: undefined symbol "PlayerName"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(6984) : error 017: undefined symbol "PlayerName"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(7007) : error 017: undefined symbol "PlayerName"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(7021) : error 017: undefined symbol "RegistrujIgraca"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(7070) : error 017: undefined symbol "SpremiPostavke"
C:\Users\ja\Desktop\maps\gm\gamemodes\BSRP.pwn(7082) : error 017: undefined symbol "SpremiPostavke"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.