Antifa
Uživatel-
Příspěvků
18 -
Registrován
-
Aktivní
Reputace
0 Na nule-
mam to takto a nejde to #include new Text:textdraw11; new InfoBoxLimit[MAX_PLAYERS]; forward InfoBoxHide(playerid); stock InfoBox(playerid, text[], time, priv) { new infoboxtime; if(InfoBoxLimit[playerid] == 0) { InfoBoxLimit[playerid] = priv; TextDrawSetString(textdraw11, text); TextDrawShowForPlayer(playerid, textdraw11); infoboxtime = SetTimerEx("InfoBoxHide",time,false,"i",playerid); } if(InfoBoxLimit[playerid] == 1) { KillTimer(infoboxtime); InfoBoxLimit[playerid] = 0; TextDrawSetString(textdraw11, text); TextDrawShowForPlayer(playerid, textdraw11); SetTimerEx("InfoBoxHide",time,false,"i",playerid); } } public OnFilterScriptInit() { textdraw11 = TextDrawCreate(23,143,"_"); TextDrawLetterSize(textdraw11,0.449999,1.500000); TextDrawAlignment(textdraw11,0); TextDrawBackgroundColor(textdraw11,0x000000ff); TextDrawFont(textdraw11,1); TextDrawUseBox(textdraw11,1); TextDrawBoxColor(textdraw11,0x000000aa); TextDrawTextSize(textdraw11,222.000000,153.000000); TextDrawSetOutline(textdraw11,0); TextDrawSetProportional(textdraw11,1); TextDrawSetShadow(textdraw11,1); return 1; } public InfoBoxHide(playerid) { if(InfoBoxLimit[playerid] == 1) { TextDrawHideForPlayer(playerid, textdraw11); InfoBoxLimit[playerid] = 0; } if(InfoBoxLimit[playerid] == 0) { TextDrawHideForPlayer(playerid, textdraw11); } return 1; }
-
A jak udělám, aby se v pickupu zmizel až odejdu, a když je otevřený 1 a má se otevřít 2 tak 1 zmizí ?? Dík za help
-
Ano to mi taky dělá to blikání, tak jsem tam dal podmínku, že se dá z obrazit 2 až po skončení 1. Což není moc efektivní, prosím vás za nás oba o pomoc.
-
Nepoužívej InfoBox od Davida, když jich otevřeš víc jak 1 na jednou tak se překrejí !!!
-
Cau, děal jsme si vip systém pro stunty, ale potřebuji poradit. S příkazem na nastavení HP, ale jen pokud má mín jak 50 Hp. použije se tam SetPlayerHealth(playerid, **); if(****) return SendClientMessage(playerid, 0xFF0000FF, "mas dost hp !!!!");
-
ale já to nechci, aby sem mi psalo kdo je onine, celou dobu mi tu píšeš hovatiny ale dík za to ze mám dát do TextDrawShowForPlayer(playerid, Textdraw[4]); TextDrawShowForPlayer(playerid, Textdraw[3]); TextDrawShowForPlayer(playerid, Textdraw[2]); TextDrawShowForPlayer(playerid, Textdraw[1]); TextDrawShowForPlayer(playerid, Textdraw[0]);
-
Nepíše to error, jen to nezobrazuje. #include #define OnStringFilterScriptInit OnFilterScriptInit new Text:TextDraw[8]; new text_chat8[150]; new text_chat7[150]; new text_chat6[150]; new text_chat5[150]; new text_chat4[150]; new text_chat3[150]; new text_chat2[150]; new text_chat1[150]; public OnStringFilterScriptInit() { TextDraw[0] = TextDrawCreate(410,265,"_"); TextDrawLetterSize(TextDraw[0],0.199999,1.200000); TextDrawAlignment(TextDraw[0],3); TextDrawBackgroundColor(TextDraw[0],0x000000FF); TextDrawFont(TextDraw[0],1); TextDrawUseBox(TextDraw[0],0); TextDrawSetOutline(TextDraw[0],1); TextDrawSetProportional(TextDraw[0],1); TextDrawSetShadow(TextDraw[0],1); TextDraw[1] = TextDrawCreate(410,279,"_"); TextDrawLetterSize(TextDraw[1],0.199999,1.200000); TextDrawAlignment(TextDraw[1],3); TextDrawBackgroundColor(TextDraw[1],0x000000FF); TextDrawFont(TextDraw[1],1); TextDrawUseBox(TextDraw[1],0); TextDrawSetOutline(TextDraw[1],1); TextDrawSetProportional(TextDraw[1],1); TextDrawSetShadow(TextDraw[1],1); TextDraw[2] = TextDrawCreate(410,293,"_"); TextDrawLetterSize(TextDraw[2],0.199999,1.200000); TextDrawAlignment(TextDraw[2],3); TextDrawBackgroundColor(TextDraw[2],0x000000FF); TextDrawFont(TextDraw[2],1); TextDrawUseBox(TextDraw[2],0); TextDrawSetOutline(TextDraw[2],1); TextDrawSetProportional(TextDraw[2],1); TextDrawSetShadow(TextDraw[2],1); TextDraw[3] = TextDrawCreate(410,307,"_"); TextDrawLetterSize(TextDraw[3],0.199999,1.200000); TextDrawAlignment(TextDraw[3],3); TextDrawBackgroundColor(TextDraw[3],0x000000FF); TextDrawFont(TextDraw[3],1); TextDrawUseBox(TextDraw[3],0); TextDrawSetOutline(TextDraw[3],1); TextDrawSetProportional(TextDraw[3],1); TextDrawSetShadow(TextDraw[3],1); TextDraw[4] = TextDrawCreate(410,321,"_"); TextDrawLetterSize(TextDraw[4],0.199999,1.200000); TextDrawAlignment(TextDraw[4],3); TextDrawBackgroundColor(TextDraw[4],0x000000FF); TextDrawFont(TextDraw[4],1); TextDrawUseBox(TextDraw[4],0); TextDrawSetOutline(TextDraw[4],1); TextDrawSetProportional(TextDraw[4],1); TextDrawSetShadow(TextDraw[4],1); TextDraw[5] = TextDrawCreate(410,335,"_"); TextDrawLetterSize(TextDraw[5],0.199999,1.200000); TextDrawAlignment(TextDraw[5],3); TextDrawBackgroundColor(TextDraw[5],0x000000FF); TextDrawFont(TextDraw[5],1); TextDrawUseBox(TextDraw[5],0); TextDrawSetOutline(TextDraw[5],1); TextDrawSetProportional(TextDraw[5],1); TextDrawSetShadow(TextDraw[5],1); TextDraw[6] = TextDrawCreate(410,349,"_"); TextDrawLetterSize(TextDraw[6],0.199999,1.200000); TextDrawAlignment(TextDraw[6],3); TextDrawBackgroundColor(TextDraw[6],0x000000FF); TextDrawFont(TextDraw[6],1); TextDrawUseBox(TextDraw[6],0); TextDrawSetOutline(TextDraw[6],1); TextDrawSetProportional(TextDraw[6],1); TextDrawSetShadow(TextDraw[6],1); TextDraw[7] = TextDrawCreate(410,363,"_"); TextDrawLetterSize(TextDraw[7],0.199999,1.200000); TextDrawAlignment(TextDraw[7],3); TextDrawBackgroundColor(TextDraw[7],0x000000FF); TextDrawFont(TextDraw[7],1); TextDrawUseBox(TextDraw[7],0); TextDrawSetOutline(TextDraw[7],1); TextDrawSetProportional(TextDraw[7],1); TextDrawSetShadow(TextDraw[7],1); return 1; } stock AddStringToTextDraw(textchat[150]) { text_chat8 = text_chat7; TextDrawSetString(TextDraw[7], text_chat8); text_chat7 = text_chat6; TextDrawSetString(TextDraw[6], text_chat7); text_chat6 = text_chat5; TextDrawSetString(TextDraw[5], text_chat6); text_chat5 = text_chat4; TextDrawSetString(TextDraw[4], text_chat5); text_chat4 = text_chat3; TextDrawSetString(TextDraw[3], text_chat4); text_chat3 = text_chat2; TextDrawSetString(TextDraw[2], text_chat3); text_chat2 = text_chat1; TextDrawSetString(TextDraw[1], text_chat2); text_chat1 = textchat; TextDrawSetString(TextDraw[0], text_chat1); } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/prikaz", cmdtext, true, 10) == 0) { new text[150]; format(text, 100, "hrac se pripojil do hry."); AddStringToTextDraw(text); return 1; } return 0; }
-
Taky se mi to nezobrazuje :S
-
Cau zkošel jsem si udělat tento chat http://pawno.cz/viewtopic.php?f=4&t=29314&p=307468 ale když dám do příkazu AddStringToTextDraw("text"); tak to nejde :S
-
Cau, jsme nový pawner tak toho moc zetim neumim. Potřebuji pomoct, skoušim http://pawno.cz/infobox-t19169.html , ale nevim co dát do příkazu mapř /info. Aby se mi zobrazil.
-
Co to meleš za sračky? Ukaž ještě, jak máš vytvořenou proměnnou prav. naházel jsme to vše zvlášt takze to de, ale líbí se mi tato část "Co to meleš za sračky? :o"
-
format(prav,sizeof(prav),"{FF8040}1) {A9C4E4}TextTextTextTextTextTextTextTextTextText \n{FF8040}2) {A9C4E4}TextTextTextTextTextTextText \n{FF8040}3) {A9C4E4}Text \n{FF8040}4) {A9C4E4}TextTextTextTextTextTextTextTextv. \n{FF8040}5) {A9C4E4}TextTextTextTextTextTextTextTextTextTextText \n{FF8040}6) {A9C4E4}TextTextTextTextText \n{FF8040}7) {A9C4E4}TextTextTextTextTextTextTextTextTextTextTextTextText",playerid);
-
čau pls help mám errory, ale vubec je nechápu. Psal jsme pravidla na server a celí řádek píše toto. error 075: input line too long (after substitutions) error 037: invalid string (possibly non-terminated string) error 017: undefined symbol "FF8040" warning 217: loose indentation warning 215: expression has no effect error 001: expected token: ";", but found ")" fatal error 107: too many error messages on one line
-
Našel jsem tutu registrace-pres-dialog-t4802.html?hilit=Registrace%20p%C5%99es%20dialog , ale tam se musíš registrovat, a pak přihládit jak udělám, aby po registraci automaticky přihlásilo samo ? Dík za radu !