marius11 Posted January 19, 2016 Posted January 19, 2016 Cum pot face un textdraw pe care sa poata sa il vada doar admini
0 Eclipsis Posted January 19, 2016 Posted January 19, 2016 Pai, daca TextDraw-u' este deja creat, va trebui sa-l pui asta ( un exemplu ) in comanda inainte ca TextDraw-u' sa apara. if(PlayerInfo[playerid][pAdmin] >= 0) - Este doar un exemplu'. Nu stiu cum ce GameMod ai tu.
0 marius11 Posted January 19, 2016 Author Posted January 19, 2016 Acum 4 minute, Eclipsis a spus: Pai, daca TextDraw-u' este deja creat, va trebui sa-l pui asta ( un exemplu ) in comanda inainte ca TextDraw-u' sa apara. if(PlayerInfo[playerid][pAdmin] >= 0) - Este doar un exemplu'. Nu stiu cum ce GameMod ai tu. Asta o pun tot acolo unde este td sau in alt loc if(PlayerInfo[playerid][pAdmin] >= 0)
0 Eclipsis Posted January 19, 2016 Posted January 19, 2016 Acum 1 minut, marius11 a spus: Asta o pun tot acolo unde este td sau in alt loc if(PlayerInfo[playerid][pAdmin] >= 0) Da-mi comanda unde vrei sa o pui. Cu tot cu TextDraw.
0 marius11 Posted January 19, 2016 Author Posted January 19, 2016 Acum 14 minute, Eclipsis a spus: Da-mi comanda unde vrei sa o pui. Cu tot cu TextDraw. Pai vreau ca acest td sa il vada doar admini News2[f] = TextDrawCreate(480.000000, 429.000000, "Esti Admin"); TextDrawLetterSize(News2[f],0.250000, 2.000000); TextDrawAlignment(News2[f], 1); TextDrawColor(News2[f], -1); TextDrawSetShadow(News2[f], 0); TextDrawSetOutline(News2[f], 1); TextDrawBackgroundColor(News2[f], 255); TextDrawFont(News2[f], 2); TextDrawSetProportional(News2[f], 1);
0 Eclipsis Posted January 19, 2016 Posted January 19, 2016 Acest TD are legatura cu vreo comanda ? Sau este doar atunci cand te conectezi si apare undeva pe ecran textu' ?
0 marius11 Posted January 19, 2016 Author Posted January 19, 2016 Nu are legatura vreau doar sa apara doar la admini . vreau sa incerc sa fac chesti noi dar nu stiu aici cum trebuie
0 Mister Posted January 19, 2016 Posted January 19, 2016 In locul unde ai tu Textdrawshowforplayer bla bla Inlocuiesti asa If (playervariable [playerid][padminbla bla bla]>0) { Textdrasshoeforplayer bla bla bla SendClientMessage ( playerid, - 1, " textdrawul ti-a fost aratat pentruca esti admin"); } __ ____ __ / |/ (_)____/ /____ _____ / /|_/ / / ___/ __/ _ \/ ___/ / / / / (__ ) /_/ __/ / /_/ /_/_/____/\__/\___/_/ SERVICII SCRIPTING DE CALITATE Pagina Scripting pawn
Question
marius11
Cum pot face un textdraw pe care sa poata sa il vada doar admini
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now