Započeo tRonic.pWn
•10. Jan. 2013.• Zaključano[POMOC] Intro prije registrovanja
257
pregleda
2
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
70
Postovi:
22
Teme:
Pridružio se:Okt. 2012
10. Jan. 2013.
Skripta koju koristim: Moja od 0
Opis problema: Kada se neko konektuje ako nije registrovan onda igracu drugom izbaci intro pa se mora ponovo registrovati :S :S :S
Dio skripte:OVO JE POD ONPLAYERCONNECT
Opis problema: Kada se neko konektuje ako nije registrovan onda igracu drugom izbaci intro pa se mora ponovo registrovati :S :S :S
Dio skripte:OVO JE POD ONPLAYERCONNECT
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
SetTimerEx("IntroLogin",5000, false, "i", playerid);
GameTextForPlayer(playerid, "~g~Dobrodosli ~w~nazad", 2000, 4);
}
else
{
SetTimer("SrvIntro", 9000, 0);
GameTextForPlayer(id, "~g~Dobrodosli", 2000, 4);
}
SetPlayerColor(playerid, COLOR_FADE3);
A EVO TAJMERI forward SrvIntro(id);
public SrvIntro(id)
{
PlayAudioStreamForPlayer(id, "http://somafm.com/tags.pls");
new id;
SetPlayerCameraPos(id, 1087.363647, -2106.748046, 145.356613);
SetPlayerCameraLookAt(id, 1091.779296, -2104.646484, 144.314727);
TextDrawShowForPlayer(id, Textdraw1);
TextDrawShowForPlayer(id, Textdraw2);
SetTimerEx("SrvIntro2", 5000, false, "i", id);
return 1;
}
forward SrvIntro2(id);
public SrvIntro2(id)
{
new id;
TextDrawHideForPlayer(id, Textdraw1);
TextDrawHideForPlayer(id, Textdraw2);
TextDrawShowForPlayer(id, intro1);
TextDrawShowForPlayer(id, intro2);
SetTimerEx("SrvIntro3", 5000, false, "i", id);
return 1;
}
forward SrvIntro3(id);
public SrvIntro3(id)
{
new id;
TextDrawHideForPlayer(id, intro1);
TextDrawHideForPlayer(id, intro2);
TextDrawShowForPlayer(id, intro10);
TextDrawShowForPlayer(id, intro12);
SetTimerEx("SrvIntro4", 5000, false, "i", id);
return 1;
}
forward SrvIntro4(playerid);
public SrvIntro4(playerid)
{
new id;
TextDrawHideForPlayer(id, intro10);
TextDrawHideForPlayer(id, intro12);
TextDrawShowForPlayer(id, intro1233);
TextDrawShowForPlayer(id, intro321);
TextDrawShowForPlayer(id, intro3211);
TextDrawShowForPlayer(id, intro3212);
TextDrawShowForPlayer(id, intro3216);
TextDrawShowForPlayer(id, intro3220);
TextDrawShowForPlayer(id, intro3217);
TextDrawShowForPlayer(id, intro3218);
TextDrawShowForPlayer(id, intro3219);
TextDrawShowForPlayer(id, intro12330);
SetTimerEx("SrvIntro5", 10000, false, "i", id);
return 1;
}
forward SrvIntro5(id);
public SrvIntro5(id)
{
new id;
TextDrawHideForPlayer(id, intro1233);
TextDrawHideForPlayer(id, intro321);
TextDrawHideForPlayer(id, intro3211);
TextDrawHideForPlayer(id, intro3212);
TextDrawHideForPlayer(id, intro3216);
TextDrawHideForPlayer(id, intro3220);
TextDrawHideForPlayer(id, intro3217);
TextDrawHideForPlayer(id, intro3218);
TextDrawHideForPlayer(id, intro3219);
TextDrawHideForPlayer(id, intro12330);
TextDrawShowForPlayer(id, zahvala1);
TextDrawShowForPlayer(id, zahvala2);
TextDrawShowForPlayer(id, zahvala3);
TextDrawShowForPlayer(id, zahvala4);
TextDrawShowForPlayer(id, zahvala5);
TextDrawShowForPlayer(id, zahvala6);
SetTimerEx("RegistracijaZavrsetak",5000, false, "i", id);
return 1;
}
forward RegistracijaZavrsetak(id);
public RegistracijaZavrsetak(id)
{
new id;
StopAudioStreamForPlayer(id);
TextDrawHideForPlayer(id, zahvala1);
TextDrawHideForPlayer(id, zahvala2);
TextDrawHideForPlayer(id, zahvala3);
TextDrawHideForPlayer(id, zahvala4);
TextDrawHideForPlayer(id, zahvala5);
TextDrawHideForPlayer(id, zahvala6);
Crime Lord
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
804
Postovi:
115
Teme:
Pridružio se:Jul 2012
10. Jan. 2013.
ahah ovo moj mod dok je bio na upload Disaronno xD
Evo xD
Al taj ti ej pun bugova kad ga ubacis na host na svakoj cmd ce crashat 🙂
Evo xD
Al taj ti ej pun bugova kad ga ubacis na host na svakoj cmd ce crashat 🙂
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
SetTimerEx("IntroLogin",5000, false, "i", playerid);
GameTextForPlayer(playerid, "~g~Dobrodosli ~w~nazad", 2000, 4);
}
else
{
SetTimerEx("SrvIntro",9000, false, "i", playerid);
GameTextForPlayer(id, "~g~Dobrodosli", 2000, 4);
}
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava