Oggi è 06/06/2024, 15:45

Tutti gli orari sono UTC + 1 ora [ ora legale ]



Regole del forum


- Dare titoli sensati, non titoli tipo "Aiuto" oppure "Problema", i topic analoghi verranno immediatamente chiusi.
- Utilizzare http://www.pastebin.com per script superiori a 20 righe.



 Pagina 1 di 1 [ 11 messaggi ] 

  Apri un nuovo argomento Rispondi all’argomento

  Stampa pagina

Autore Messaggio
 Oggetto del messaggio: [HELP]Bug
MessaggioInviato: 24/05/2011, 23:26 
Avatar utente
Utente

Iscritto il: 04/02/2011
Messaggi: 268
Località: Milano
Favourite GTA: GTA IV
Xfire: themay91

Karma
0


Non connesso
Quando restarto il server mi appare questa schermata e non mi fa spawnare, come posso risolvere?

http://imageshack.us/photo/my-images/3/samp394w.png/

_________________
Immagine


Top
 E-mail  
 

 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 14:31 
Avatar utente
Utente

Iscritto il: 05/11/2010
Messaggi: 115
Località: Milano
Favourite GTA: San Andreas

Karma
0


Non connesso
Prova a rientrare quando restarti il server, oppure potresti aver settato male il comando del restart (PS: Non me ne intendo di script, ma cerco comunque di darti una mano :ahsisi:).


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 15:58 
Avatar utente
Utente

Iscritto il: 31/10/2010
Messaggi: 901
Località: Universo - Via Lattea - Sistema Solare - Pianeta Terra - Europa - Italia - Sicilia - Grammichele(CT)
Favourite GTA: San Andreas
Xfire: Privato

Karma
2


Non connesso
Posta la Gm su pastebin

_________________
Immagine


I Miei Filterscript Per Sa-Mp

Rampone System By me and Mik_Teck
Autovelox System By me and Mik_Teck
Metro System By me
pLaserPointer By me

Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 17:14 
Avatar utente
Utente

Iscritto il: 04/02/2011
Messaggi: 268
Località: Milano
Favourite GTA: GTA IV
Xfire: themay91

Karma
0


Non connesso
ho provato a non mettere la tag [ILV] e questo bug non succede, lo script che bugghi credo sia questo, mi dorebbe spawnare in un determinato punto di spawn solo per quelli che hanno la tag [ILV]

Codice:
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(strfind(pName, "[ILV]", true)!=-1)
    {
    SetPlayerPos(playerid, 3285.2, 2016.2, 29.7); //BASE-ILV
    }


Edit mitosking.

_________________
Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 18:21 
Avatar utente
Utente

Iscritto il: 31/10/2010
Messaggi: 901
Località: Universo - Via Lattea - Sistema Solare - Pianeta Terra - Europa - Italia - Sicilia - Grammichele(CT)
Favourite GTA: San Andreas
Xfire: Privato

Karma
2


Non connesso
Lo script che hai appena postato si trova in OnPlayerSpawn ?

_________________
Immagine


I Miei Filterscript Per Sa-Mp

Rampone System By me and Mik_Teck
Autovelox System By me and Mik_Teck
Metro System By me
pLaserPointer By me

Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 18:43 
Avatar utente
Utente

Iscritto il: 04/02/2011
Messaggi: 268
Località: Milano
Favourite GTA: GTA IV
Xfire: themay91

Karma
0


Non connesso
si

_________________
Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 19:24 
Avatar utente
Utente

Iscritto il: 31/10/2010
Messaggi: 901
Località: Universo - Via Lattea - Sistema Solare - Pianeta Terra - Europa - Italia - Sicilia - Grammichele(CT)
Favourite GTA: San Andreas
Xfire: Privato

Karma
2


Non connesso
strano posta l'onplayerspawn e l'onplayerrequestspawn

_________________
Immagine


I Miei Filterscript Per Sa-Mp

Rampone System By me and Mik_Teck
Autovelox System By me and Mik_Teck
Metro System By me
pLaserPointer By me

Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 19:29 
Avatar utente
Utente

Iscritto il: 04/02/2011
Messaggi: 268
Località: Milano
Favourite GTA: GTA IV
Xfire: themay91

Karma
0


Non connesso
OnPlayerSpawn

Codice:
    AntiDeAMX();//ANTIDEAMX
    PlayerPlaySound(playerid,1184,0.0,0.0,0.0);//SUONO MUTO
    SetPlayerInterior(playerid, 0);//INTERIOR  N° 0 AI PLAYERS
      //============================ARMI
    ResetPlayerWeapons(playerid);
    GivePlayerWeapon(playerid, 31, 500);
    GivePlayerWeapon(playerid, 24, 500);
      //============================RANDOM-SPAWN
    new rand = random(sizeof(RandomSpawn));
    //============================SETPLAYERPOS
    SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    //============================CHECKPOINT BASE
    SetPlayerCheckpoint(playerid, 3328.3764648438, 1948.1842041016, 24.203443527222, 4.0);
    //============================SPAWN ILV
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(strfind(pName, "[ILV]", true)!=-1)
    {
    SetPlayerPos(playerid, 3285.2, 2016.2, 29.7); //BASE-ILV
    }
    //============================TEXTDRAW/TEMPO REALE
      TextDrawShowForPlayer(playerid,txtTimeDisp);
   gettime(hour, minute);
   SetPlayerTime(playerid,hour,minute);
   //============================GANG ZONES
    GangZoneShowForPlayer(playerid, BaseGang, 0x0000FF96);
    GangZoneShowForPlayer(playerid, LvaGang, 0x00FFFF96);
    GangZoneShowForPlayer(playerid, AaGang, 0xFFFF0096);
    //============================PROTEZIONE BASE
    SetTimerEx("Check", 1000, true, "d", playerid);



OnPlayerRequestSpawn

Codice:
    //============================GAMETEXTFORPLAYER
    GameTextForPlayer(playerid,"~w~Benvenuto in:~n~~r~Las Venturas~n~~y~Clan",4000,0);

_________________
Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 20:10 
Avatar utente
Utente

Iscritto il: 04/02/2011
Messaggi: 268
Località: Milano
Favourite GTA: GTA IV
Xfire: themay91

Karma
0


Non connesso
ora se restarto mi ritrovo al area 51 spawnato invece che alla base, se faccio /kill torna apposto, e normale ?

_________________
Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 25/05/2011, 22:03 
Avatar utente
Utente

Iscritto il: 31/10/2010
Messaggi: 901
Località: Universo - Via Lattea - Sistema Solare - Pianeta Terra - Europa - Italia - Sicilia - Grammichele(CT)
Favourite GTA: San Andreas
Xfire: Privato

Karma
2


Non connesso
Cerca di non inviare due messaggi a meno di 48h l'uno dall'altro comunque per lo script prova a sostituire il tuo OnPlayerSpawn con questo:

Codice:
public OnPlayerSpawn(playerid)
{
    AntiDeAMX();//ANTIDEAMX
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    new rand = random(sizeof(RandomSpawn));
    if(strfind(pName, "[ILV]", true)!=-1) SetPlayerPos(playerid, 3285.2, 2016.2, 29.7); //BASE-ILV
    else SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    SetPlayerCheckpoint(playerid, 3328.3764648438, 1948.1842041016, 24.203443527222, 4.0);
    PlayerPlaySound(playerid,1184,0.0,0.0,0.0);//SUONO MUTO
    SetPlayerInterior(playerid, 0);//INTERIOR  N° 0 AI PLAYERS
      //============================ARMI
    ResetPlayerWeapons(playerid);
    GivePlayerWeapon(playerid, 31, 500);
    GivePlayerWeapon(playerid, 24, 500);
    //============================TEXTDRAW/TEMPO REALE
   TextDrawShowForPlayer(playerid,txtTimeDisp);
   gettime(hour, minute);
   SetPlayerTime(playerid,hour,minute);
   //============================GANG ZONES
    GangZoneShowForPlayer(playerid, BaseGang, 0x0000FF96);
    GangZoneShowForPlayer(playerid, LvaGang, 0x00FFFF96);
    GangZoneShowForPlayer(playerid, AaGang, 0xFFFF0096);
    //============================PROTEZIONE BASE
    SetTimerEx("Check", 1000, true, "d", playerid);
return 1;
}

_________________
Immagine


I Miei Filterscript Per Sa-Mp

Rampone System By me and Mik_Teck
Autovelox System By me and Mik_Teck
Metro System By me
pLaserPointer By me

Immagine


Top
 E-mail  
 
 Oggetto del messaggio: Re: [HELP]Bug
MessaggioInviato: 26/05/2011, 15:20 
Avatar utente
Utente

Iscritto il: 04/02/2011
Messaggi: 268
Località: Milano
Favourite GTA: GTA IV
Xfire: themay91

Karma
0


Non connesso
ora va meglio, ma mi capita ancora qualche volta

_________________
Immagine


Top
 E-mail  
 
Visualizza ultimi messaggi:  Ordina per  
 Pagina 1 di 1 [ 11 messaggi ] 

  Apri un nuovo argomento Rispondi all’argomento

Tutti gli orari sono UTC + 1 ora [ ora legale ]



Chi c’è in linea

Visitano il forum: Nessuno e 100 ospiti


Non puoi aprire nuovi argomenti
Non puoi rispondere negli argomenti
Non puoi modificare i tuoi messaggi
Non puoi cancellare i tuoi messaggi
Non puoi inviare allegati

Cerca per:
Vai a: