textdraw [REP+] Not Solved HELPP -
Dejan12345 - 26.07.2016
help i make my textdraw and dont get error when i join on server i need to use /text to back it help i add it to on player connect if need code i will add
Re: textdraw NotSolved -
Dejan12345 - 26.07.2016
please help
Re: textdraw -
JustMe.77 - 26.07.2016
No code, no help.
Re: textdraw -
AliBro - 26.07.2016
Ok so u want that when u type /text it will show you TextDraw? if yes then show us the code of textdraw.
Re: textdraw NotSolved -
Dejan12345 - 26.07.2016
Код:
Textdraw0 = CreatePlayerTextDraw(playerid,564.000000, 10.000000, "ROLEPLAY");
PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
PlayerTextDrawFont(playerid,Textdraw0, 1);
PlayerTextDrawLetterSize(playerid,Textdraw0, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw0, 16711935);
PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
Textdraw1 = CreatePlayerTextDraw(playerid,490.000000, 11.000000, "ANGELES");
PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
PlayerTextDrawFont(playerid,Textdraw1, 1);
PlayerTextDrawLetterSize(playerid,Textdraw1, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw1, -16776961);
PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
Textdraw2 = CreatePlayerTextDraw(playerid,436.000000, 11.000000, "BLACK");
PlayerTextDrawBackgroundColor(playerid,Textdraw2, 255);
PlayerTextDrawFont(playerid,Textdraw2, 1);
PlayerTextDrawLetterSize(playerid,Textdraw2, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw2, 16777215);
PlayerTextDrawSetOutline(playerid,Textdraw2, 0);
PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
PlayerTextDrawSetShadow(playerid,Textdraw2, 1);
PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
// You can now use PlayerTextDrawShow, PlayerTextDrawHide and
// PlayerTextDrawDestroy functions to show, hide, and destroy the textdraw.
good
Re: textdraw -
FuNkYTheGreat - 26.07.2016
if u want it to show when you type CMD or
Код:
CMD:text(playerid)
{
PlayerTextDrawShow(playerid, Textdraw0);
PlayerTextDrawShow(playerid, Textdraw1);
PlayerTextDrawShow(playerid, Textdraw2);
return 1;
}
This will show when player connect
Код:
public OnPlayerConnect(playerid)
{
PlayerTextDrawShow(playerid, Textdraw0);
PlayerTextDrawShow(playerid, Textdraw1);
PlayerTextDrawShow(playerid, Textdraw2);
return 1;
}
Re: textdraw -
Dejan12345 - 26.07.2016
now say undefined symbol text
Re: textdraw -
JustMe.77 - 26.07.2016
Give us always the code and the exactly error logs without that we have always to ask for it.
Re: textdraw - Quinncell - 26.07.2016
You need to define the tds...
e.g new TextDraw0;
And do the same for the others.
Re: textdraw -
Dejan12345 - 26.07.2016
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(260) : warning 225: unreachable code
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(270) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(271) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(272) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(361) : warning 213: tag mismatch
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(365) : warning 213: tag mismatch
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(379) : error 017: undefined symbol "text"
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(386) : warning 225: unreachable code
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(379) : warning 203: symbol is never used: "CMD"
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\gamemodes\BARP.pwn(521) : warning 204: symbol is assigned a value that is never used: "string"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase