Pomoc - Vracanje na mjesto gdje sam bio prije izlaska sa servera

Započeo lakiluk, Jun 28, 2010, 18:12:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

sta od ovoga treba da obrisem da me po iducem ulasku na server nebi vracalo na mesto gde sam zadnji put bio:
if(TutTime[playerid] == 0 && PlayerInfo[playerid][pTut] == 1 && RegistrationStep[playerid] == 0 && AfterTutorial[playerid] == 0 && FirstSpawn[playerid] == 1)
   {
       new plname[MAX_PLAYER_NAME];
       GetPlayerName(playerid, plname, sizeof(plname));
      SetPlayerVirtualWorld(playerid,PlayerInfo[playerid][pVirWorld]);
        SafeSetPlayerInterior(playerid,PlayerInfo[playerid][pInt]);
    SafeSetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z] + 1);
format(string, sizeof(string), "Welcome to Los Santos, %s... Returning where have you been",plname);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "~w~Welcome, ~b~%s. ~n~~y~Returning where have you been!", plname);
    GameTextForPlayer(playerid, string, 5000, 1);
    return 1;
}
if(house !=255)
{
   if(PlayerInfo[playerid][pSpawn] == 1) //If 1, then you get to your house, else spawn somewhere else
   {
SetPlayerToTeamColor(playerid);
SafeSetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
SafeSetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
HouseEntered[playerid] = house;
return 1;
}
}

Poslednja Izmena: Jun 30, 2010, 11:00:34 PRE PODNE od dinkO14

probaj ovako:

if(TutTime[playerid] == 0 && PlayerInfo[playerid][pTut] == 1 && RegistrationStep[playerid] == 0 && AfterTutorial[playerid] == 0 && FirstSpawn[playerid] == 1)
if(house !=255)
{
    if(PlayerInfo[playerid][pSpawn] == 1) //If 1, then you get to your house, else spawn somewhere else
    {
SetPlayerToTeamColor(playerid);
SafeSetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
SafeSetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
HouseEntered[playerid] = house;
return 1;
}
}


[BP] HeLoX ba! ^^
Forum: balkan-paradise.info- Još u izradi!

Citat: Ryder poslato Jun 29, 2010, 22:56:49 POSLE PODNE
:D :D
sto je pjensik htio reci xD ?
ako s pomoc pomoz ako ne onda nista
Citat: [BP] Haris ba! ^^ poslato Jun 29, 2010, 22:10:09 POSLE PODNE
probaj ovako:

if(TutTime[playerid] == 0 && PlayerInfo[playerid][pTut] == 1 && RegistrationStep[playerid] == 0 && AfterTutorial[playerid] == 0 && FirstSpawn[playerid] == 1)
if(house !=255)
{
    if(PlayerInfo[playerid][pSpawn] == 1) //If 1, then you get to your house, else spawn somewhere else
    {
SetPlayerToTeamColor(playerid);
SafeSetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
SafeSetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
HouseEntered[playerid] = house;
return 1;
}
}

tako je imeni u skripti bravo @hatris :)

Citat: aleluja poslato Jun 30, 2010, 01:49:04 PRE PODNE
Citat: Ryder poslato Jun 29, 2010, 22:56:49 POSLE PODNE
:D :D
sto je pjensik htio reci xD ?
ako s pomoc pomoz ako ne onda nista
Citat: [BP] Haris ba! ^^ poslato Jun 29, 2010, 22:10:09 POSLE PODNE
probaj ovako:

if(TutTime[playerid] == 0 && PlayerInfo[playerid][pTut] == 1 && RegistrationStep[playerid] == 0 && AfterTutorial[playerid] == 0 && FirstSpawn[playerid] == 1)
if(house !=255)
{
    if(PlayerInfo[playerid][pSpawn] == 1) //If 1, then you get to your house, else spawn somewhere else
    {
SetPlayerToTeamColor(playerid);
SafeSetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
SafeSetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
HouseEntered[playerid] = house;
return 1;
}
}

tako je imeni u skripti bravo @hatris :)
da,tesko je c/p iz GFa...

nisam copy xD samo uzeo ono njegovo i obriso onaj gornji dio gdje se fino vidi: "Returning where have you been!"
:D


[BP] HeLoX ba! ^^
Forum: balkan-paradise.info- Još u izradi!

Ja mislim da treba bez ovoga..

SafeSetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z] + 1);

I jos one poruke "Returning where have you been!"
Respekt: [H]265, John, [03]Garsino, LordShigi, Dujma, Carlsson, Randy, Jacobs, Hu5o, Toni, Lukas, Curtis, Ivo, Hawks, Jack, Koksildo, gonss

Haha OMG => http://zaslike.com/files/9rd5urq94yqagvdsx3i.png [ovo nema nigdje]

omg pa odgovorio sam mu ja vec zato jer ako ostavis one ostale uslove vratit ce ti stari vw i int a pozicija nije oznacena...
gledaj malo bolje uslove te  >:(


[BP] HeLoX ba! ^^
Forum: balkan-paradise.info- Još u izradi!

Naslov izmjenjen.Prva i zadnja opomena za tebe,ako ponovis brisem ti temu a zatim te udaljavam s foruma.

Ako vi nemate volje procitat "Osnovna pravila ovog foruma" onda nemam niti ja ispravljat vase naslove,meni je lakse pobrisat i banat,vjerujte ;).