[Pomoc] Spawn

Započeo Zigic19, Decembar 12, 2012, 20:15:02 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: NBE
Detaljan opis problema: kako da namestim da se spawn u enterijer aerodroma i trazio sam mapu nisam nasao :/
I ako neko vec ima napravljen ulaz i izlaz ako moze da mi da ako nema napravicu :D samo mi treba mapa i kako da namestim da se tu spawn
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
[GG] Maper

SetPlayerInterior(playerid, 1); x,y,z: 1.808619,32.384357,1199.593750

Izvini sto smaram ali gde sta da ubacim u mod :D Hvala u napred
[GG] Maper


Izvini sto smaram

Ali nzm kako jel mozes ti da mi namestis

hvala u napred

public SetPlayerSpawn(playerid)
{
    if(IsPlayerConnected(playerid))
{
    SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
    if(PlayerInfo[playerid][pTut] == 0)
    {
            SetPVarInt(playerid, "Izbegavanje", 0);
    TextDrawShowForPlayer(playerid,lbt);
TextDrawShowForPlayer(playerid,lbb);
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
            SetPlayerInterior(playerid, 3);
            SetPlayerInterior(playerid, 3);
            SetPlayerCameraPos( playerid, 1143.8341, -1039.4705, 81.0823 );
            SetPlayerCameraLookAt( playerid, 1150.5505, -1046.6729, 79.3458 );
            JBC_SetPlayerPos(playerid, 76.6308,-89.5403,1001.2363);
LoopingAnim(playerid,"MISC","seat_talk_02",2.0,1,0,0,0,0);
            SetPlayerInterior(playerid, 3);
PlayerInfo[playerid][pInt] = 3;
SetPlayerPos(playerid, 330.6825,163.6688,1014.1875);
SetPlayerFacingAngle(playerid, 280);
            //SetPlayerInterior(playerid, 0);
            //SetPlayerVirtualWorld(playerid, 0);
SetPlayerFacingAngle(playerid, 280);
JBC_TogglePlayerControllable(playerid, 0);
RegistrationStep[playerid] = 1;
ClearChatbox(playerid, 50);
SendClientMessage(playerid, COLOR_GREEN, "----------------------------------------------------------------");
SendClientMessage(playerid, COLOR_GREY, " Dobrodosli na Energy. Bicete prosledjeni u imigraciono odeljenje.");
SendClientMessage(playerid, COLOR_WHITE, "1. Da li ste musko ili zensko? (napisite sta ste)");
SendClientMessage(playerid, COLOR_GREEN, "----------------------------------------------------------------");
ClearChatbox(playerid, 2);
TextDrawHideForPlayer(playerid, bssrpp1);
        TextDrawHideForPlayer(playerid, bssrpp2);
        TextDrawHideForPlayer(playerid, Textdraw1);
        TextDrawHideForPlayer(playerid, Textdraw0);
        //TextDrawHideForPlayer(playerid, Textdrawic);
        //TextDrawHideForPlayer(playerid, scrtd);
        //TextDrawHideForPlayer(playerid, scrtd1);
        TextDrawHideForPlayer(playerid, Zones[playerid]);
        TextDrawHideForPlayer(playerid, Zones1[playerid]);
        TextDrawHideForPlayer(playerid, Banka[playerid]);
        TextDrawHideForPlayer(playerid, Zlato[playerid]);
        TextDrawHideForPlayer(playerid, Time);
        TextDrawHideForPlayer(playerid, Datum);
        TextDrawHideForPlayer(playerid, PrikazPlus);
        TextDrawHideForPlayer(playerid, PrikazPlus);
        TextDrawHideForPlayer(playerid, Textdraw2);
        //TextDrawHideForPlayer(playerid, Zastava0);
        TextDrawHideForPlayer(playerid, Zastava1);
        TextDrawHideForPlayer(playerid, Zastava2);
        TextDrawHideForPlayer(playerid, Zastava3);
        TextDrawHideForPlayer(playerid, Zastava4);
        TextDrawHideForPlayer(playerid, Zastava5);
        TextDrawHideForPlayer(playerid, Zastava6[playerid]);
     return 1;
}
[GG] Maper

public SetPlayerSpawn(playerid)
{
    if(IsPlayerConnected(playerid))
{
    SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
    if(PlayerInfo[playerid][pTut] == 0)
    {
            SetPVarInt(playerid, "Izbegavanje", 0);
    TextDrawShowForPlayer(playerid,lbt);
TextDrawShowForPlayer(playerid,lbb);
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
            SetPlayerInterior(playerid, 3);
            SetPlayerInterior(playerid, 3);
            SetPlayerCameraPos( playerid, 1143.8341, -1039.4705, 81.0823 );
            SetPlayerCameraLookAt( playerid, 1150.5505, -1046.6729, 79.3458 );
            JBC_SetPlayerPos(playerid, 1.808619,32.384357,1199.593750);
SetPlayerInterior(playerid, 1);
LoopingAnim(playerid,"MISC","seat_talk_02",2.0,1,0,0,0,0);
            SetPlayerInterior(playerid, 3);
PlayerInfo[playerid][pInt] = 3;
SetPlayerPos(playerid, 330.6825,163.6688,1014.1875);
SetPlayerFacingAngle(playerid, 280);
            //SetPlayerInterior(playerid, 0);
            //SetPlayerVirtualWorld(playerid, 0);
SetPlayerFacingAngle(playerid, 280);
JBC_TogglePlayerControllable(playerid, 0);
RegistrationStep[playerid] = 1;
ClearChatbox(playerid, 50);
SendClientMessage(playerid, COLOR_GREEN, "----------------------------------------------------------------");
SendClientMessage(playerid, COLOR_GREY, " Dobrodosli na Energy. Bicete prosledjeni u imigraciono odeljenje.");
SendClientMessage(playerid, COLOR_WHITE, "1. Da li ste musko ili zensko? (napisite sta ste)");
SendClientMessage(playerid, COLOR_GREEN, "----------------------------------------------------------------");
ClearChatbox(playerid, 2);
TextDrawHideForPlayer(playerid, bssrpp1);
        TextDrawHideForPlayer(playerid, bssrpp2);
        TextDrawHideForPlayer(playerid, Textdraw1);
        TextDrawHideForPlayer(playerid, Textdraw0);
        //TextDrawHideForPlayer(playerid, Textdrawic);
        //TextDrawHideForPlayer(playerid, scrtd);
        //TextDrawHideForPlayer(playerid, scrtd1);
        TextDrawHideForPlayer(playerid, Zones[playerid]);
        TextDrawHideForPlayer(playerid, Zones1[playerid]);
        TextDrawHideForPlayer(playerid, Banka[playerid]);
        TextDrawHideForPlayer(playerid, Zlato[playerid]);
        TextDrawHideForPlayer(playerid, Time);
        TextDrawHideForPlayer(playerid, Datum);
        TextDrawHideForPlayer(playerid, PrikazPlus);
        TextDrawHideForPlayer(playerid, PrikazPlus);
        TextDrawHideForPlayer(playerid, Textdraw2);
        //TextDrawHideForPlayer(playerid, Zastava0);
        TextDrawHideForPlayer(playerid, Zastava1);
        TextDrawHideForPlayer(playerid, Zastava2);
        TextDrawHideForPlayer(playerid, Zastava3);
        TextDrawHideForPlayer(playerid, Zastava4);
        TextDrawHideForPlayer(playerid, Zastava5);
        TextDrawHideForPlayer(playerid, Zastava6[playerid]);
     return 1;
}