25.03.2017, 20:09
Hola,
i'm getting a Error when i'm trying to Create a Textdraw only for player. Getting warnings like this:
So far i know, the code, looks good, but why, i'm getting the warning, have no idea. Any ideas?
Code under OnPlayerConnect:
On top of GM, i have:
Thanks!
i'm getting a Error when i'm trying to Create a Textdraw only for player. Getting warnings like this:
Код HTML:
warning 215: expression has no effect error 001: expected token: ";", but found "[" error 029: invalid expression, assumed zero warning 215: expression has no effect error 001: expected token: ";", but found "]" fatal error 107: too many error messages on one line
Code under OnPlayerConnect:
Код HTML:
public OnPlayerConnect(playerid) { Hola[playerid][0] = CreatePlayerTextDraw(playerid, 327.700134, 126.533325, "box"); PlayerTextDrawLetterSize(playerid, Hola[playerid][0], 0.000000, 25.688150); PlayerTextDrawTextSize(playerid, Hola[playerid][0], 0.000000, 513.000000); PlayerTextDrawAlignment(playerid, Hola[playerid][0], 2); PlayerTextDrawColor(playerid, Hola[playerid][0], -1); PlayerTextDrawUseBox(playerid, Hola[playerid][0], 1); PlayerTextDrawBoxColor(playerid, Hola[playerid][0], -2139062017); PlayerTextDrawSetShadow(playerid, Hola[playerid][0], 0); PlayerTextDrawSetOutline(playerid, Hola[playerid][0], 0); PlayerTextDrawBackgroundColor(playerid, Hola[playerid][0], 255); PlayerTextDrawFont(playerid, Hola[playerid][0], 1); PlayerTextDrawSetProportional(playerid, Hola[playerid][0], 1); PlayerTextDrawSetShadow(playerid, Hola[playerid][0], 0); 12 more Textdraw's ...... }
Код HTML:
new PlayerText:Hola[13];