Jump to content
  • 0

Problema TextDraw


RemiXdJ

Question

Pei...am luat un program de facut TextDraw'uri "BSN TextDraw Editor",si am facut un textdraw.

Am pus:

-new Text:Textd;

- TextDrawHideForAll(Textd);

TextDrawDestroy(Textd);

return 1;

}

-Textd = TextDrawCreate(79.000000, 343.000000, "Textul");

    TextDrawBackgroundColor(Textd , 255);

TextDrawFont(Textd , 1);

TextDrawLetterSize(Textd , 0.8, 5.6);

TextDrawColor(Textd , 0x00C600FF);

TextDrawSetOutline(Textd , 1);

TextDrawSetProportional(Textd , 1);

TextDrawSetShadow(Textd , 1);

for(new i; i < MAX_PLAYERS; i ++)

{

if(IsPlayerConnected(i))

{

TextDrawShowForPlayer(i, Textd);

}

}

return 1;

}

Totul bagat sub "public OnGameModeInit()"

Iar cand dau compile imi spune:

-"C:\Users\Mihai\Desktop\samp03\gamemodes\SRV.pwn(636) : error 010: invalid function or declaration

C:\Users\Mihai\Desktop\samp03\gamemodes\SRV.pwn(644) : error 010: invalid function or declaration

C:\Users\Mihai\Desktop\samp03\gamemodes\SRV.pwn(646) : error 010: invalid function or declaration

C:\Users\Mihai\Desktop\samp03\gamemodes\SRV.pwn(651) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

"

Ma puteti ajuta?

Multumesc.

PS:!!Am ajuns la 1 eroare:

"C:\Users\Mihai\Desktop\samp03\gamemodes\SRV.pwn(636) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

"

Care este la linia:

    Textd = TextDrawCreate(79, 343, "Textulaici");

PS:Am rezolvat eroarea dar cand intru in srv nu-mi apare text'ul

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Similar Content

    • By EclyseRPGADV
      Salut asta este primul meu textdraw postat.
      Sper sa va placa!
      https://pastebin.com/jtR7AH8v

       
    • By salexm93
      Salutare 
      Poate nu inteleg eu bine , pe wiki scrie max 2048 globale si 256 per player .
      Sa luam cazul ipotetic al unui server cu 1000 de playeri online .
      new Text:xpbar[MAX_PLAYERS]; new Text:playername[MAX_PLAYERS]; Aici vor fi 2000 create ? Adica destul de aproape de limita
       
      new PlayerText:xpbar[MAX_PLAYERS]; new PlayerText:playername[MAX_PLAYERS]; Iar Aici vor fi doar 2 ?
      Totodata , PlayerTextDrawDestroy ,la onplayerdisconnect ?
    • By seek nephrite
      Salut, imi explica cineva cum fac o ruleta gen cu textdraw-uri cum e pe ruby nephrite? Adica sa arate numele si textdraw ul fiecarui obiect pe care il pun eu in ruleta, etc
    • By IosifR
      re astazi am sa va prezint 'buletinul' care l am facut cu nikk's textdraw editor
      Am stat vreo 10m sa-l fac
      Zic ca-i bun pt un sv mai roleplay
    • By VenoMarius ERROR404
      Salut, am si eu o problema cu database, dupa ce imi dau admin 7 din baza de date cand intru pe joc nu primesc adminul, dc ?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.