[pomoc]registracija

Započeo [Euro Samp]Shadow, Avgust 30, 2013, 15:27:10 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

skripta koju koristim:NL
detaljan opis problema:napravio sam za register da prvo idu one gluposti dobrodosli,na server,vortex gaming e i sve je dobro bilo do dns ja udjem na server i pokaze mi se ovako dok se ocu reg

a prije je to bio veliki font crni a sad bjeli nekakvi i za 5 sec bi on trebo krenut dalje al stoji cjelo vrijeme nez sta mu je
evo ovaj dio di ako nema nalog pokrene taj prvi public
public IgracNemaNalog(playerid)
{
if(VGSecurity[0][kb_Registracija] == 1)
{
    SPD(playerid, 283, DIALOG_STYLE_MSGBOX, "Greska!", "{FFFF00}Administrator je privremeno onemogucio nove registracije.\nMolimo Vas da pokusate kasnije. Hvala na strpljenju.\n\n{FF9900}- Vortex Gaming - Staff team",
    "Zatvori", "");
    return 1;
}
Registracija1(playerid);
hIgracevNalogPostoji[playerid] = 0;
    SetPlayerCameraPos(playerid, 1662.2316,-1329.3037,164.4707);
SetPlayerCameraLookAt(playerid, 1642.2316,-1329.3037,164.4707);
//SetPVarInt(playerid, "Reg", 0);
    //SPD(playerid, 0, DIALOG_STYLE_MSGBOX, "Dobrodosli", "{33CCFF}Dobrodosli na Vortex Gaming RPG server.\nPritisnite gumb DA ukoliko se zelite registrirati na ovaj velicanstveni server.\nUkoliko se necete registrirati i imati vlastiti nalog pritisnite NE.\nNadamo se da cete se zabaviti i nauciti jos puno novih rp pravila uz nase najvece rp-ere\nUgodnu zabavu zeli vam vas{FF9900}- Vortex Gaming Staff Team.", "DA", "NE");
//for(new chat = 0; chat <= 21; chat++) SendClientMessage(playerid, CRNA, " ");
// SendClientMessage(playerid, ZELENA2, "Dobrodosli na RPG/DM server!");
for(new chat = 0; chat <= 7; chat++) SendClientMessage(playerid, BELA, " ");
return 1;
}

ovo tu Registracija1(playerid); to je ono sto pokrene taj di idu textdrawovi
evo publici oni
public Registracija1(playerid)
{
   SetTimer("Registracija2", 5000, 0);
   TextDrawShowForPlayer(playerid, Textdraw0);//dOBRODOSLI
   SetPlayerPos_H(playerid, 838.7280,-2098.2371,27.6109);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, 838.7280,-2098.2371,27.6109);
   SetPlayerCameraLookAt(playerid, 839.0284,-1956.5308,16.6609);
}
public Registracija2(playerid)
{
   SetTimer("Registracija3", 5000, 0);
   TextDrawShowForPlayer(playerid, Textdraw1);//naj server
   SetPlayerPos_H(playerid, -1345.0308,702.6796,146.0048);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, -1345.0308,702.6796,146.0048);
   SetPlayerCameraLookAt(playerid, -1256.0004,945.4385,102.6943);
}
public Registracija3(playerid)
{
   SetTimer("Registracija4", 5000, 0);
   TextDrawShowForPlayer(playerid, Textdraw2);//Vortex gaming
   TextDrawShowForPlayer(playerid, Textdraw6);
   TextDrawShowForPlayer(playerid, Textdraw7);
   SetPlayerPos_H(playerid, 317.1725,1841.2256,59.2006);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, 317.1725,1841.2256,59.2006);
   SetPlayerCameraLookAt(playerid, 206.3891,1898.5229,17.6608);
}
public Registracija4(playerid)
{
   SetTimer("Registracija5", 5000, 0);
   TextDrawShowForPlayer(playerid, Textdraw3);//verzija
   TextDrawShowForPlayer(playerid, Textdraw4);
   SetPlayerPos_H(playerid, 1423.8394,1763.0104,57.4981);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, 1423.8394,1763.0104,57.4981);
   SetPlayerCameraLookAt(playerid, 1446.8123,1305.8171,12.6304);
}
public Registracija5(playerid)
{
   SetTimer("Registracija6", 5000, 0);
   TextDrawShowForPlayer(playerid, Textdraw5);//ugodna igra
   SetPlayerPos_H(playerid, 2412.5332,1888.6681,76.8462);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, 2412.5332,1888.6681,76.8462);
   SetPlayerCameraLookAt(playerid, 2469.5210,1707.7155,59.6859);
}
public Registracija6(playerid)
{
   SetTimer("Registracija7", 5000, 0);
   TextDrawShowForPlayer(playerid, Textdraw8);////Vg staff
   SetPlayerPos_H(playerid, 2391.5559,1456.9243,125.9009);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, 2391.5559,1456.9243,125.9009);
   SetPlayerCameraLookAt(playerid, 2323.6067,1282.7349,97.2195);
}
public Registracija7(playerid)
{
   TextDrawHideForPlayer(playerid, Textdraw1);
   TextDrawHideForPlayer(playerid, Textdraw0);
   TextDrawHideForPlayer(playerid, Textdraw2);
   TextDrawHideForPlayer(playerid, Textdraw3);
   TextDrawHideForPlayer(playerid, Textdraw4);
   TextDrawHideForPlayer(playerid, Textdraw5);
   TextDrawHideForPlayer(playerid, Textdraw6);
   TextDrawHideForPlayer(playerid, Textdraw7);
   TextDrawHideForPlayer(playerid, Textdraw8);
   SetPlayerPos_H(playerid, 1120.7344,-833.0992,131.9285);
   SetPlayerFacingAngle(playerid, 270.0);
   SetPlayerCameraPos(playerid, 1120.7344,-833.0992,131.9285);
   SetPlayerCameraLookAt(playerid, 1298.8208,-996.5395,154.8012);
   SPD(playerid, 0, DIALOG_STYLE_MSGBOX, "Dobrodosli", "{33CCFF}Dobrodosli na Vortex Gaming RPG server.\nPritisnite gumb DA ukoliko se zelite registrirati na ovaj velicanstveni server.\nUkoliko se necete registrirati i imati vlastiti nalog pritisnite NE.\nNadamo se da cete se zabaviti i nauciti jos puno novih rp pravila uz nase najvece rp-ere\nUgodnu zabavu zeli vam vas{FF9900}- Vortex Gaming Staff Team.", "DA", "NE");
   for(new chat = 0; chat <= 21; chat++) SendClientMessage(playerid, CRNA, " ");
}

nez sta je prije je sve radilo kako treba nez sta je sad

Pokusaj ovako:


public IgracNemaNalog(playerid)
{
if(VGSecurity[0][kb_Registracija] == 1)
{
    SPD(playerid, 283, DIALOG_STYLE_MSGBOX, "Greska!", "{FFFF00}Administrator je privremeno onemogucio nove registracije.\nMolimo Vas da pokusate kasnije. Hvala na strpljenju.\n\n{FF9900}- Vortex Gaming - Staff team",
    "Zatvori", "");
    return 1;
}
SetTimerEx("Registracija1", 1000, 0, "i", playerid);
hIgracevNalogPostoji[playerid] = 0;
    SetPlayerCameraPos(playerid, 1662.2316,-1329.3037,164.4707);
SetPlayerCameraLookAt(playerid, 1642.2316,-1329.3037,164.4707);
//SetPVarInt(playerid, "Reg", 0);
    //SPD(playerid, 0, DIALOG_STYLE_MSGBOX, "Dobrodosli", "{33CCFF}Dobrodosli na Vortex Gaming RPG server.\nPritisnite gumb DA ukoliko se zelite registrirati na ovaj velicanstveni server.\nUkoliko se necete registrirati i imati vlastiti nalog pritisnite NE.\nNadamo se da cete se zabaviti i nauciti jos puno novih rp pravila uz nase najvece rp-ere\nUgodnu zabavu zeli vam vas{FF9900}- Vortex Gaming Staff Team.", "DA", "NE");
//for(new chat = 0; chat <= 21; chat++) SendClientMessage(playerid, CRNA, " ");
// SendClientMessage(playerid, ZELENA2, "Dobrodosli na RPG/DM server!");
for(new chat = 0; chat <= 7; chat++) SendClientMessage(playerid, BELA, " ");
return 1;
}



Vjerovatno si nesto oko timera ceprkao.
Dole sto ti pise SetTimer,uradi sa SetTimerEx




Balkan Ulice RPG opis servera: Click



-Tutorial za mijesanje ID-ova na vozilima: Click


da al samo neki nemaju bugove :D ja sam uspio rijesit sve

i radi li sada?




Balkan Ulice RPG opis servera: Click



-Tutorial za mijesanje ID-ova na vozilima: Click

RADI ali samo prvi textdraw di treba pisat dobrodosli je bjela crta nez zasto napravio sam novi al opet je bjela crta




Citat: Boca poslato Avgust 30, 2013, 22:33:16 POSLE PODNE
Nije loše 7/10 ;)
Šta nije loše HAHAHA?
Nije ovaj pdf za ocjenjivanje,ovo je pomoć u vezi pawn skriptanja,a i vidim da pokuÅ¡avaÅ¡ da kopiraÅ¡ Bocolinju,kopiraÅ¡ ACC i tako to,ali neću o tome oÄ'e,javi se na GL. Razgovor,izvinjavam se moderatorima ako sam malo siÅ¡o sa teme.