TextDraw Help
#1

Hi guys.

I'm having problems with TextDraws.
I get this error: error 035: argument type mismatch (argument 3)
On this line:
pawn Код:
CustomDraw[playerid] = TextDrawCreate(329, 421, string);
How ever, I have this at the top of my script:
pawn Код:
new Text:CustomDraw[MAX_PLAYERS];
Reply
#2

What? there is no return, I didn't even say anything about any return? I know the error is to do with "CustomDraw[playerid]" because it only started giving the error when I changed CustomDraw to CustomDraw[playerid], but I need it to have an assigned playerid, and I've done it correctly so I don't know where the error is.
Reply
#3

https://sampwiki.blast.hk/wiki/TextDrawCreate
Reply
#4

I know you can use a string with a textdraw, which is what I'm trying to do. Like I said, I got the error when I added it with MAX_PLAYERS so I can assign a playerid, it has nothing to do with the string, if you wish to help me then please do but read what I say, and do some research first.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)