Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => FilterScripte, Include, Pluginovi za SA-MP => Filterskripte & include fajlovi => Temu započeo: #leivyz poslato Oktobar 05, 2021, 21:07:07 POSLE PODNE

Naslov: Telefon v0.1 [TextDraw]
Poruka od: #leivyz poslato Oktobar 05, 2021, 21:07:07 POSLE PODNE
Tip: FilterSkripta
Slike: https://imgur.com/a/Q58GwOP
Opis i dodatne informacije: Jednostavno napravljeno, Da upalite telefon 'Y' da ga remove 'N'. Vremenom ce biti Update!
Download link: https://pastebin.com/sau0KWMA
Scan link: //
Credits: Ja!

PS: FS sam uradio zato sto znam da ce nekom posluziti. I ako nije prob ocena od 1 do 10!  8)
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: realplaya poslato Oktobar 05, 2021, 21:28:20 POSLE PODNE
Po slikama lepo, fale samo neke aplikacije na pocetnoj :D
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: Kanac poslato Oktobar 05, 2021, 22:27:26 POSLE PODNE
doktorski odradjeno, promeni boju pozadine ubija oci
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: Aezakmi poslato Oktobar 12, 2021, 14:10:06 POSLE PODNE
doktor  ;D
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: #luyn poslato Novembar 04, 2021, 22:36:28 POSLE PODNE
Citat: Stevanovic.pwn poslato Oktobar 05, 2021, 21:07:07 POSLE PODNE
Tip: FilterSkripta
Slike: https://imgur.com/a/Q58GwOP
Opis i dodatne informacije: Jednostavno napravljeno, Da upalite telefon 'Y' da ga remove 'N'. Vremenom ce biti Update!
Download link: https://pastebin.com/sau0KWMA
Scan link: //
Credits: Ja!

PS: FS sam uradio zato sto znam da ce nekom posluziti. I ako nije prob ocena od 1 do 10!  8)
Iskreno nis spec , 3/10
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: V01D poslato Novembar 04, 2021, 23:22:29 POSLE PODNE
Odakle poceti :

[pawn]for(new p = 0; p < 34; p++)
        {
            foreach(new i: Player)
            {
                if(IsPlayerConnected(i))
                {
                    PlayerTextDrawShow(i, TelefonTD[p]);
                    SelectTextDraw(playerid, 0xFFFFFF);
                }
            }
        }
    }[/pawn]

Zasto ovde loopujes sve igrace i prikazujes tdove svakom igracu na serveru xD?

Ovo :
[pawn]PlayerTextDrawDestroy(playerid, TelefonTD[playerid][0]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][1]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][2]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][3]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][4]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][5]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][6]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][7]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][8]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][9]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][10]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][11]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][12]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][13]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][14]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][15]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][16]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][17]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][18]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][19]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][20]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][21]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][22]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][23]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][24]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][25]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][26]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][27]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][28]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][29]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][30]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][31]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][32]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][33]);
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid][34]);[/pawn]

Zameni sa :
[pawn]for(new i = 0; i < 35; i++) {
        PlayerTextDrawDestroy(playerid, TelefonTD[playerid]);
}[/pawn]

Sve u svemu, po slikama deluje dobro sve osim pozadine na telefonu, promeni na nesto drugo.

Pohvale za trud
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: Pexara poslato Novembar 06, 2021, 21:57:01 POSLE PODNE
8/10 nije loše ali može bolje.
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: _tayloR poslato Novembar 06, 2021, 23:05:23 POSLE PODNE
if(created == false) >> else

koliko sam uocio stalno ce prikazivat fon kad klikce Y ili N nema provjere nikakve jel otvoren zatvoren

closace selektovanje na bilo koji klik dole i nista onda

ostalo je Void napiso
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: Tiger1921 poslato Novembar 07, 2021, 16:56:57 POSLE PODNE
Sta je sa aplikacijama. Ne vidim da ima PH. :(
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: Aezakmi poslato Novembar 07, 2021, 17:03:45 POSLE PODNE
Citat: Tiger1921 poslato Novembar 07, 2021, 16:56:57 POSLE PODNE
Sta je sa aplikacijama. Ne vidim da ima PH. :(
Nisi lepo pogledao
https://imgur.com/a/wo8PGSo
Naslov: Odg: Telefon v0.1 [TextDraw]
Poruka od: #leivyz poslato Novembar 07, 2021, 18:30:50 POSLE PODNE
Citat: Petrovich poslato Novembar 07, 2021, 17:03:45 POSLE PODNE
Nisi lepo pogledao
https://imgur.com/a/wo8PGSo
Hahahahahh al si matori ludd