Page 2 of 3 FirstFirst 123 LastLast
Results 51 to 100 of 111
  1. #51
    Senior Member Array
    Join Date
    Jul 2012
    Location
    None
    Karma
    6

    Default

    Quote Originally Posted by Stefan-LaGger View Post
    kako da ubacim svoju muziku u server ja mislim da se to zove "Audio Stream" na jednom serveru sam video da pustaju svoju muziku na pr najvise fero srbija kolumbija kako ja to da napravim ako ima neki skripter ili link od toga??
    Ubaci ovo :

    if(strcmp(cmd, "/djradio", true) ==0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pAdmin] >= 1340)
    {
    ShowPlayerDialog(playerid, DIALOG_PUSTIMUZIKU, DIALOG_STYLE_LIST, "Muzika", "Cke Beogradske\nMotorolo Kolo\nRada Manojlovic-Marakana\nDado Polumenta-Od vina\nDado polumenta,MC yanko\nBalada Disidenta\nElitni odredi-kao kokain\nMC yanko joj,joj,joj\nSvedok Saradnik\nDizel Power\nAnabela Beograd\nLoca por tu Boca\nAphrodisiac\nParti manijak\nRed Alert 3 JNA\nIm Sexy and I know it\nSlatka mala MC Yankoo\nZare i Goci Kum\nGangnam Style\nIskljuci", "Pusti", "Otkazi" );
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Niste ovlasceni da koristite ovu komandu");
    return 1;
    }
    }
    return 1;
    }
    A ovo za dialog:
    if(dialogid == DIALOG_PUSTIMUZIKU)
    {
    if(response)
    {
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(listitem == 0)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/6w8tmzamo2/gazda_paja_-_cke_beogradske_deejay_toma_fm_cut_.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 1)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/1li6h7fyxs/motorola_policijsko_kolo.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 2)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://gcp.prodhosting.net/falcone/radamarakana.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 3)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://gcp.prodhosting.net/falcone/dadopolumentaodvina.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 4)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://gcp.prodhosting.net/falcone/dadopolumentajavolimSamp.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 5)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/tlflwkt5wp/beogradski_sindikat_-_balada_disidenta_lyrics_www.mp3fiber.com_.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 6)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://gcp.prodhosting.net/falcone/elitniodredikaokokain.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 7)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://gcp.prodhosting.net/falcone/mcyankoojoj.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 8)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/9uqt70fcf9/beogradski_sindikat_-_svedok_saradnik_.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 9)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://gcp.prodhosting.net/falcone/dizelpower.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 10)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/766qhl8bwl/blgdr.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 11)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/oxhg22ah4k/alessia_loca_por_tu_boca_original_song_flv_hd.mp3" );
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 12)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/kl57ww8h44/aphrodisisac_12eleftheria.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 13)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/58ck46m7zd/dadoinvivoparty.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 14)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/5k4h28b1k9/Soviet_March_CampC_Red_Alert_3_Yugoslav_People39s_ Army_Parade.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 15)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/s7q0gs024e/lmfao_imsexyy.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 16)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/8p7c6k78ts/mcjanko_slatka.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 17)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/d61c1ojac7/krajisnici_zare_i_goci_2011-kum_www.mp3fiber.com_.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 18)
    {
    StopAudioStreamForPlayer(i);
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/8gdl57vlzi/gangnam_style.mp3");
    SendClientMessage(i, COLOR_WHITE, "/audiomsg - Za gasenje zeljenih linkova");
    SendClientMessage(i, COLOR_WHITE, "/musicoff - Za gasenje muzike");
    }
    if(listitem == 19)
    {
    StopAudioStreamForPlayer(i);
    }
    }
    }
    }

  2. #52
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Nisi mu dao #define DIALOG_PUSTIMUZIKU, zajebaće se garant, pogledaj i boje

  3. #53
    Senior Member Array
    Join Date
    Jul 2012
    Location
    None
    Karma
    6

    Default

    Quote Originally Posted by -aSk- View Post
    Nisi mu dao #define DIALOG_PUSTIMUZIKU, zajebaće se garant, pogledaj i boje
    Zaboravio sam.Kad mu izbaci undefine dialog_pustimuziku valjda ce znati da definise ..

  4. #54

    Default

    Quote Originally Posted by BK Name View Post
    Ubaci ovo :



    A ovo za dialog:

    daje mi 22 errora i gde da stavim ispod cega jel moram da definisem mozda nesto ili sta ?

  5. #55

    Default

    imam problem sa satom na serveru pogledajte koliko pise na server da je sati : http://www.zaslike.com/viewer.php?fi...hmm1l0jygm.png

    a ja sam slikao ovo tacno u 5:35 ujutru znaci da bi na server trebalo pisati 5:35 a pise mi 22:22
    kako da resim problem ????

  6. #56
    Junior Member Array
    Join Date
    Jan 2013
    Karma
    0

    Default

    Mozeli mi neko objasniti kako da na srw ubacim svoju mapu sto sam izmapo???

  7. #57
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Quote Originally Posted by Eldar99 View Post
    Mozeli mi neko objasniti kako da na srw ubacim svoju mapu sto sam izmapo???
    Ako si mapao u MTA, odi na www.convertffs.com, podesi INPUT na MTA 1.0 Object i MTA 1.0 Vehicle, a OUTPUT na Incognito's Streamer Plugin (Ukoliko imas streamer plugin, a ako nemas stavi SA-MP CreateObject) i SA-MP AddStaticVehicleEx.
    Odes u Program Files/MTA San Andreas 1.3/server/mods/deathmatch (sad nisam siguran da li je tu ili u resources folderu unutar deathmatcha).
    Otvoris folder u kome ti se nalazi .map fajl, taj .map fajl otvori preko Notepad-a, kopiraj ceo kod koji tu vidis i paste ga na convertffs. Pritisni convert. Dobijas nove kodove, sve to kopiraj i nalepi u svoj mod pod public OnGameModeInit.
    Uzivaj!

  8. #58

    Default

    Moze pomoc kako da na mom serveru mogu sebe da ubacim da ulazim sa nicko "Stefi" i za mog druga "Hrky"
    posto moj server kicka kad nije u formatu Ime_Prezime

    evo ova skripta ovo je LARP

    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(AntiName == 1)
    {
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }
    Odgovorite mu sto pre ajde plizzzzz

  9. #59
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Mislim da taj mod ima /changename komandu, pa mozes promeniti ime ingame.
    Ali mislim da mozes postaviti proveru za admina, pa ako si admin da te pusti, a ne da te kick.

    Evo ti pa probaj:
    Code:
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(PlayerInfo[playerid][pAdmin] >= 1338) return 1;
    if(AntiName == 1)
    {
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }
    Samo zameni ovo sa tim kodom.
    Samo sam ti ovo dodao:
    if(PlayerInfo[playerid][pAdmin] >= 1338) return 1;
    Trebalo bi da je ta varijabla za admina.

  10. #60

    Default

    Quote Originally Posted by -aSk- View Post
    Mislim da taj mod ima /changename komandu, pa mozes promeniti ime ingame.
    Ali mislim da mozes postaviti proveru za admina, pa ako si admin da te pusti, a ne da te kick.

    Evo ti pa probaj:
    Code:
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(PlayerInfo[playerid][pAdmin] >= 1338) return 1;
    if(AntiName == 1)
    {
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }
    Samo zameni ovo sa tim kodom.
    Samo sam ti ovo dodao:
    if(PlayerInfo[playerid][pAdmin] >= 1338) return 1;
    Trebalo bi da je ta varijabla za admina.
    ne radi probao sam i ovo na to mesto gde si stavio ovo tvoje new namestring = strfind(plname, "Stefi", true);
    ali ne radi -.- ?? imas li drugi nacin

  11. #61
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Ja sam ti rekao da dodas if(PlayerInfo[playerid][pAdmin] >= 1338) return 1; a ne to new namestring = strfind(plname, "Stefi", true);
    Ne razumem te? Samo zameni kod koji sam ti dao sa tim sto vec imas.

    Ako ipak hoces na taj tvoj fazon, stavis ovako kod:
    Code:
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(AntiName == 1)
    {
    if(strfind(plname, "Stefi", true != -1) return 1;
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }
    Ovo bi trebalo da radi. Cak je mozda i bolje resenje.
    Last edited by -aSk-; 18-01-2013 at 00:46.

  12. #62

    Default

    ee ama ja sam stavio ovo sto si mi reko tu gde treba ali kad udji sa nickom Stefi nece da udje nece ni da kickuje zbog neispravnog imena -.-

    a ovo namestring = strfind(plname, "Stefi", true);
    to sam video sa sa-mp foruma evo ti link :
    http://balkan-samp.com/forum/index.php?topic=38231.0

    pa jel mozda nisam lepo stavio ili sta pomoc pliz xD

  13. #63
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Stavi ovaj poslednji kod sto sam ti dao i probaj.

  14. #64

    Default

    Quote Originally Posted by -aSk- View Post
    Stavi ovaj poslednji kod sto sam ti dao i probaj.
    da ga ***** gde tacno da stavim znam znam da skriptam onako solidno ali ovo mi je problem gde da stavim ovo Srbija RP ako si cuo za server njihovi admini dolaze samo sa imenom ili nickom bez formata Ime_Prezime ?
    znaci gde tacno da stavim posto ovo sto si mi poslao ne radi
    sve jedno hvala sto pomazes

    Srbija RP ima edit istog tog mog moda LARP
    Last edited by Stefan LaGger; 18-01-2013 at 22:14. Reason: zaboravio sam da dodam

  15. #65
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Ti imas ovo u modu jel da?
    Code:
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(AntiName == 1)
    {
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }
    E, sve to obrises.

    Sada stavis ovo na mesto toga, znaci samo zameni taj kod sa ovim:
    Code:
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(AntiName == 1)
    {
    if(strfind(plname, "Stefi", true != -1) return 1;
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }

  16. #66

    Default

    [QUOTE=-aSk-;601908]Ti imas ovo u modu jel da?
    Code:
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(AntiName == 1)
    {
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }
    E, sve to obrises.

    Sada stavis ovo na mesto toga, znaci samo zameni taj kod sa ovim:
    [code]
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;
    if(AntiName == 1)
    {
    if(strfind(plname, "Stefi", true != -1) return 1;
    if(namestring == -1)
    {
    format(string, sizeof(string),"%s, je kikan od Anticheat-a BalkanBoys RolePlay zbog nepravilnog imena",plname);
    SendClientMessageToAll(COLOR_NICERED, string);
    SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
    SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
    new y, m, d;
    new h,mi,s;
    getdate(y,m,d);
    gettime(h,mi,s);
    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] BalkanBoys RolePlay je kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
    KickLog(string);
    Kick(playerid);
    return 1;
    }
    }

    izbaci error
    C:\Documents and Settings\Stefan\Desktop\BBoys.pwn(4889) : warning 213: tag mismatch
    C:\Documents and Settings\Stefan\Desktop\BBoys.pwn(4889) : error 001: expected token: ")", but found "return"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    1 Error.
    Last edited by Stefan LaGger; 20-01-2013 at 01:15. Reason: ...

  17. #67
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Nađi ovo:
    Code:
    if(strfind(plname, "Stefi", true != -1) return 1;
    Zameni sa ovim:
    Code:
    if(strfind(plname, "Stefi", true != -1)) return 1;
    Ili jednostavno, samo dodaj zagradu tu. Moja mala greška jbg.

  18. #68

    Default

    Quote Originally Posted by -aSk- View Post
    Nađi ovo:
    Code:
    if(strfind(plname, "Stefi", true != -1) return 1;
    Zameni sa ovim:
    Code:
    if(strfind(plname, "Stefi", true != -1)) return 1;
    Ili jednostavno, samo dodaj zagradu tu. Moja mala greška jbg.
    iznenadjenje
    C:\Documents and Settings\Stefan\Desktop\BBoys.pwn(4889) : warning 213: tag mismatch

  19. #69
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Aaaa kolko ne razmisljam dok pisem nesto, izvini, stavi ovako:
    Code:
    if(strfind(plname, "Stefi", true) != -1) return 1;

  20. #70

    Default

    Quote Originally Posted by -aSk- View Post
    Aaaa kolko ne razmisljam dok pisem nesto, izvini, stavi ovako:
    Code:
    if(strfind(plname, "Stefi", true) != -1) return 1;
    jbg

    problem neki :P

    udjem sa nickom Stefi
    registrujem se ali nema je slika pored opstine
    logujem se normalno
    ali nema da mi se otvori ono dali ste musko ili zensko, datum, Drzava
    samo se pojavim negde u nekom selu ??
    Last edited by Stefan LaGger; 20-01-2013 at 03:58. Reason: jbg

  21. #71

    Default

    Imam jos jedan problem sa objektima koristim createdynamicobject napravio sam opstinu onu sam izbrisao i stavio novu ali ako se daljim od nje 2-3 m nestane i mnogo mi je glupo to sta je problem

  22. #72
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Hmm, povećaj draw distance u options > display > advanced.

  23. #73
    Junior Member Array
    Join Date
    Jan 2013
    Karma
    0

    Default

    HostName: Balkan Games RPG [www.gu-gaming.net]
    Address: 193.192.59.151:7784
    Players: 89 / 200
    Ping: 29
    Mode: BG RP v.7.0
    Map: San Andreas
    Intro Video: http://youtu.be/7gO91jdSHhU

  24. #74

    Default

    Samo treba da mi stavite u ovde da moze samo admin 1338 da pusta i da se ispise poruka kad se upali ili ugasi hvala unapred


    if (strcmp(cmd, "/nekocion", true) == 0)
    {
    foreach (Player, i)
    {
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/28tdipx27s/elitni_odredi_ne_koci.mp3");
    }
    }
    if (strcmp(cmd, "/nekocioff", true) == 0)
    {
    foreach (Player, i)
    {
    StopAudioStreamForPlayer(playerid);
    }
    }

  25. #75
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Quote Originally Posted by Stefan LaGger View Post
    Samo treba da mi stavite u ovde da moze samo admin 1338 da pusta i da se ispise poruka kad se upali ili ugasi hvala unapred
    Code:
    if (strcmp(cmd, "/nekocion", true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] < 1338) return 1;
    foreach (Player, i)
    {
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/28tdipx27s/elitni_odredi_ne_koci.mp3");
    SendClientMessageToAll(-1, "Upaljeno.");
    }
    return 1;
    }
    if (strcmp(cmd, "/nekocioff", true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] < 1338) return 1;
    foreach (Player, i)
    {
    StopAudioStreamForPlayer(playerid);
    SendClientMessageToAll(-1, "Ugaseno.");
    }
    return 1;
    }
    Nisi returnao cmd-e, pa sam ti i to...
    Last edited by -aSk-; 10-02-2013 at 00:41.

  26. #76

    Default

    Quote Originally Posted by -aSk- View Post
    Code:
    if (strcmp(cmd, "/nekocion", true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] < 1338) return 1;
    foreach (Player, i)
    {
    PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/28tdipx27s/elitni_odredi_ne_koci.mp3");
    SendClientMessageToAll(-1, "Upaljeno.");
    }
    return 1;
    }
    if (strcmp(cmd, "/nekocioff", true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] < 1338) return 1;
    foreach (Player, i)
    {
    StopAudioStreamForPlayer(playerid);
    SendClientMessageToAll(-1, "Ugaseno.");
    }
    return 1;
    }
    Nisi returnao cmd-e, pa sam ti i to...
    ok hvala ali imam problem ja imam oko 10 pesama i za svaku moram posebno kako tabelu neku ako ima na pr upisem /radio i otvori se tabela i biram koju cu pesmu...tenx unapred

  27. #77
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12
    Last edited by -aSk-; 11-02-2013 at 17:44.

  28. #78

    Default

    Ubacio sam neki VIP sistem ali ne radi treba zcmd ali zcmd mi baca errore... takodje treba i sscanf2
    jel ima neki vip sistem iz nekog GM-a ili necega ako ne mozete da nadjene nema veze
    2.problem: treba mi da se na 15 minuta automatski respamuju auta..hvala unapred.

  29. #79
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Beograd
    Karma
    12

    Default

    Sto se tice VIP sistema, ja nemam ni jedan, pa ti ne mogu dati, ali mozda ti mogu pomoci oko zcmda i sscanfa ukoliko malo bolje objasnis problem.

    A sto se tice respawna vozila, uradices ovako:
    - Pod public OnGameModeInit() dodas:
    Code:
     SetTimer("RVozila", 900000, 1);
    - Na kraj moda ili bilo gde van callbackova
    Code:
     public RVozila()
     {
         for(new i = 1; i <= MAX_VEHICLES; i++)
         {
             SetVehicleToRespawn(i);
         }
     }

  30. #80

    Default

    Quote Originally Posted by -aSk- View Post
    Sto se tice VIP sistema, ja nemam ni jedan, pa ti ne mogu dati, ali mozda ti mogu pomoci oko zcmda i sscanfa ukoliko malo bolje objasnis problem.

    A sto se tice respawna vozila, uradices ovako:
    - Pod public OnGameModeInit() dodas:
    Code:
     SetTimer("RVozila", 900000, 1);
    - Na kraj moda ili bilo gde van callbackova
    Code:
     public RVozila()
     {
         for(new i = 1; i <= MAX_VEHICLES; i++)
         {
             SetVehicleToRespawn(i);
         }
     }
    poslacu ti errore za zcmd i sscanf, posto za taj vip sistem sto imam ja treba zcmd i sscanf2, poz

  31. #81

    Default

    Kako da postavim ovo trazio sam po map editoru nema nigde ????
    http://zaslike.com/viewer.php?file=o...k5fa11tga3.png

  32. #82
    Junior Member Array
    Join Date
    Feb 2013
    Karma
    0

    Default

    Zanima me,kako da ubacim filterscriptu,kad mi neko posalje pastebin...
    Za FS kad se skine znam...a ovo nezz

  33. #83
    Junior Member Array
    Join Date
    May 2012
    Karma
    0

    Default

    udes u folder gdje ti je mod imas tamo
    filterscripts i tamo ubacis .pwn i .amx file(Preporucjem da ih ti ponovo complite)
    i onda otvoris server.cfg i tamo u redu filterscripts dodas ime FSa npr "filterscripts eSys"

  34. #84
    Junior Member Array
    Join Date
    May 2013
    Karma
    0

    Default

    a sam moras da ubacivas sve
    Last edited by Bandito; 25-05-2013 at 21:22.

  35. #85
    Junior Member Array
    Join Date
    May 2013
    Karma
    0

    Default

    moze da mi da neko TuT kako da skriptam naprimer url da bude www.uskoro.com
    hitno mi treba
    pocetnik sam

  36. #86
    Junior Member Array
    Join Date
    Jun 2013
    Karma
    0

    Default

    Treba tutorial kako hostati databazu za NL mod na domeni od KGB hostinga

  37. #87
    Junior Member Array
    Join Date
    Jul 2013
    Karma
    0

    Default

    Dajte napravite kako da napravim cmd /respawnallcars

  38. #88
    Senior Member Array
    Join Date
    Jan 2010
    Karma
    9

    Default

    Quote Originally Posted by marin89000 View Post
    Dajte napravite kako da napravim cmd /respawnallcars
    http://forum.sa-mp.com/showthread.php?t=302980
    Imas ovde

  39. #89
    Senior Member Array
    Join Date
    Apr 2011
    Location
    SickTouch Community
    Karma
    0

    Default

    Doslo je vreme da i menii treba da se pomogne, ajmoo kaluu

    Brisanje CoS Sistema? Pojasnite
    www.sick-touch.iz.rs

    Posetite i registrujte se,a po mogucstvu i ostanite aktivni.Hvala unapred.

  40. #90
    Junior Member Array
    Join Date
    Jul 2013
    Karma
    0

    Default

    Eee kako da ubacim neku pjesmu u samp server da stavim u pawn !!

  41. #91
    Junior Member Array
    Join Date
    Jul 2013
    Karma
    0

    Default

    Nov sam u skriptanju jel mi moze ko pomoc oko trafika systema, ali ono bas sve sa define i new i ostalo.

  42. #92
    Junior Member Array
    Join Date
    Jul 2013
    Karma
    0

    Default

    Meni treba tut. kako ubaciti neku komandu /armourall i /setoperator u server i uopstee sve komande kako se ubacuju.
    I imam pitanje jos jedno kako da ubacim Zone za osvajanje ali ne one kao da cekam 20 sec da se osvoji vec da bude duze osvajanje,to jest tacno kao na ovome serveru COD5-Los Santos Cops And Robbers,i ako je moguce ako zna neko skriptati kao na ovome serveru neka mi se javi u PM ,bio bih mu zahvalan.

  43. #93
    Junior Member Array
    Join Date
    Jul 2013
    Karma
    0

    Default

    Treba mi tut kako ubaciti PB kodove (pastebnilink) u host

  44. #94
    Junior Member Array
    Join Date
    Aug 2013
    Karma
    0

    Default

    Da li neko moze da mi kaze VIP komande?

  45. #95
    Junior Member Array
    Join Date
    Jul 2013
    Karma
    0

    Default

    Zna netko ovo ???? kada mozes postaviti da mozes imati samo jedno ime i ime u formatu npr. Ivica_Brutal i onda ako imas ime u tom formatu kika igrace imao sam u gp registriranih 100 igraca. NAGRADA GAMEMASTER NA SERVERU HEAD

  46. #96
    Junior Member Array
    Join Date
    Aug 2013
    Karma
    0

    Default

    Register/Login system

    I bazi znanja ima vec cini mi se 2 takva tutorijala, ali ni jedan mi ne radi, kapiram da su pisani za starije verzije 0.3c ili koja je vec bila prethodna, ako bi neko mogao da uradi TUT za 0.3x i pre toga proveri kod sebe da li ima neki error, bilo bi dobro, stvarno imam problema sa tim, vec nekoliko nedelja ne mogu da uradim to

    Hvala

  47. #97
    Member Array
    Join Date
    Mar 2013
    Karma
    0

    Default

    kako da spojim mod sa msql bazom jer, ja ubacim mod i sve cmd rade al ja se spawnam u nekom selu.
    Posjetite HardCore | DM ©
    Ip :193.192.59.227:27029
    www.hardcore-cs.mojkgb.com


  48. #98
    Junior Member Array
    Join Date
    Apr 2013
    Location
    Vranje
    Karma
    0

    Default

    Skinuo sam jedan mod i sad neznam na koju samp verziju radi taj mod da li je moguce da se proveri na koju je verziju taj mod?

  49. #99
    Senior Member Array
    Join Date
    May 2013
    Location
    Sombor
    Karma
    5

    Default

    Quote Originally Posted by wawex View Post
    Skinuo sam jedan mod i sad neznam na koju samp verziju radi taj mod da li je moguce da se proveri na koju je verziju taj mod?
    Vecina modova su na 0.3x verziji, skini pokreni ga preko samp-server.exe dodaj u favorite :7777 i probaj da udjes, ako ne mozes onda je na 0.3e verziji.. Ali opet lako ga je prebaciti na 0.3x, odes na offical sajt skines bilo koji od ponudjenih i ubacis u gamemode announce,samp-npc,samp-server.

  50. #100
    Junior Member Array
    Join Date
    Apr 2014
    Karma
    0

    Default

    E ovako imam jedno pitanje vezano za samp.Kada sam otvorio svoj server nisam znao dovoljno kako bih radio to sam(skripto,ubacivao mod,mapao).Sada se razumem bolje al me buni jedna stvar gde ja sad treba da odem da bi poceo da skriptam neke opcije koje ja ocu,dal na gamepanel,fileyilu gde da otvorim taj pawn od tog mog severa koji je hostovan.Hvala unapred

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •