15.03.2013, 21:19
I want a completely 100% black backround on OnPlayerConnect, how is this done?
Thanks.
Thanks.
BlackScreen[playerid] = CreatePlayerTextDraw(playerid, 0.0, 0.0, "_");
PlayerTextDrawFont(playerid, BlackScreen[playerid], 1);
PlayerTextDrawLetterSize(playerid, BlackScreen[playerid], 0.0, 50.0);
PlayerTextDrawUseBox(playerid, BlackScreen[playerid], true);
PlayerTextDrawBoxColor(playerid, BlackScreen[playerid], 0x000000FF);
You need to create the 'BlackScreen' variable, but this set-up here will make it a black screen.
BlackScreen[playerid] = CreatePlayerTextDraw(playerid, 0.0, 0.0, "_"); PlayerTextDrawFont(playerid, BlackScreen[playerid], 1); PlayerTextDrawLetterSize(playerid, BlackScreen[playerid], 0.0, 50.0); PlayerTextDrawUseBox(playerid, BlackScreen[playerid], true); PlayerTextDrawBoxColor(playerid, BlackScreen[playerid], 0x000000FF);[/pawn] |
error 028: invalid subscript (not an array or too many subscripts): "BlackScreen"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
BlackScreen[playerid] = CreatePlayerTextDraw(playerid, 0.0, 0.0, "_");
warning 213: tag mismatch
(1633) : warning 213: tag mismatch
(1634) : warning 213: tag mismatch
(1635) : warning 213: tag mismatch
(1636) : warning 213: tag mismatch
BlackScreen[playerid] = CreatePlayerTextDraw(playerid, 0.0, 0.0, "_");
PlayerTextDrawFont(playerid, BlackScreen[playerid], 1);
PlayerTextDrawLetterSize(playerid, BlackScreen[playerid], 0.0, 50.0);
PlayerTextDrawUseBox(playerid, BlackScreen[playerid], true);
PlayerTextDrawBoxColor(playerid, BlackScreen[playerid], 0x000000FF);