Text Draw Error
#1

pawn Код:
websitetextdraw = TextDrawCreate(212 ,459 , "www.premiumliferoleplay.co.nr");
    TextDrawFont(websitetextdraw , 1);
    TextDrawLetterSize(websitetextdraw , .5, 3.5)
    TextDrawColor(websitetextdraw , 0xffffffFF);
    TextDrawSetOutline(websitetextdraw , false);
    TextDrawSetProportional(websitetextdraw , true);
    TextDrawSetShadow(websitetextdraw , 1);
errors

Код:
error 001: expected token: "-identifier-", but found "-integer value-"
\gamemodes\larp.pwn(20242) : warning 215: expression has no effect
\gamemodes\larp.pwn(20242) : warning 215: expression has no effect
\gamemodes\larp.pwn(20242) : error 001: expected token: ";", but found ")"
\gamemodes\larp.pwn(20242) : error 029: invalid expression, assumed zero
\gamemodes\larp.pwn(20242) : fatal error 107: too many error messages on one line
?
Reply
#2

here you go
pawn Код:
websitetextdraw = TextDrawCreate(212 ,459 , "www.premiumliferoleplay.co.nr");
    TextDrawFont(websitetextdraw , 1);
    TextDrawLetterSize(websitetextdraw , .5, 3.5);
    TextDrawColor(websitetextdraw , 0xffffffFF);
    TextDrawSetOutline(websitetextdraw , false);
    TextDrawSetProportional(websitetextdraw , true);
    TextDrawSetShadow(websitetextdraw , 1);
Reply
#3

Quote:
Originally Posted by CROSS_Hunter
Посмотреть сообщение
here you go
pawn Код:
websitetextdraw = TextDrawCreate(212 ,459 , "www.premiumliferoleplay.co.nr");
    TextDrawFont(websitetextdraw , 1);
    TextDrawLetterSize(websitetextdraw , .5, 3.5);
    TextDrawColor(websitetextdraw , 0xffffffFF);
    TextDrawSetOutline(websitetextdraw , false);
    TextDrawSetProportional(websitetextdraw , true);
    TextDrawSetShadow(websitetextdraw , 1);
didnt work, still get the game errors
Reply
#4

Код:
websitetextdraw = TextDrawCreate(212 ,459 , "www.premiumliferoleplay.co.nr");
TextDrawFont(websitetextdraw , 1);
TextDrawLetterSize(websitetextdraw , ???????????????????????.5, 3.5);
TextDrawColor(websitetextdraw , 0xffffffFF);
TextDrawSetOutline(websitetextdraw , false);
TextDrawSetProportional(websitetextdraw , true);
TextDrawSetShadow(websitetextdraw , 1);
Hope this will help
Reply
#5

Код:
\gamemodes\larp.pwn(20240) : warning 217: loose indentation
\gamemodes\larp.pwn(20241) : warning 217: loose indentation
\gamemodes\larp.pwn(20242) : error 029: invalid expression, assumed zero
\gamemodes\larp.pwn(20242 -- 20243) : error 001: expected token: ":", but found ";"
\gamemodes\larp.pwn(20242 -- 20244) : error 001: expected token: ":", but found ";"
\gamemodes\larp.pwn(20242 -- 20244) : fatal error 107: too many error messages on one line
Reply
#6

Quote:
Originally Posted by Ben_Hatfield
Посмотреть сообщение
Код:
\gamemodes\larp.pwn(20240) : warning 217: loose indentation
\gamemodes\larp.pwn(20241) : warning 217: loose indentation
\gamemodes\larp.pwn(20242) : error 029: invalid expression, assumed zero
\gamemodes\larp.pwn(20242 -- 20243) : error 001: expected token: ":", but found ";"
\gamemodes\larp.pwn(20242 -- 20244) : error 001: expected token: ":", but found ";"
\gamemodes\larp.pwn(20242 -- 20244) : fatal error 107: too many error messages on one line
Why did you just copy paste my code? There is missing something, can't you see? Just replace all this with a normal value.
Reply
#7

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
Why did you just copy paste my code? There is missing something, can't you see? Just replace all this with a normal value.
haha, sorry man, i didnt even read it, i got it to work. thanks
Reply
#8

but now it doesnt show up at all in game
Reply
#9

TextDrawShowForPlayer is the fucntion you are looking for
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)