20.12.2013, 07:14
Quote:
This line:
Код:
new PlayerText:Textdraw0; Try change this line to: Код:
new Text:Textdraw0; |
These are per-player textdraws, not global ones and were added in samp 0.3e.
After creating textdraws, you still need to show them using PlayerTextDrawShow, as CreatePlayerTextDraw only creates them, they're not automatically shown.
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
Код:
new PlayerText:Textdraw0; public OnPlayerConnect(playerid) { //Text Draws Textdraw0 = CreatePlayerTextDraw(playerid, 502.000000, 104.000000, "Ghost Riders"); PlayerTextDrawBackgroundColor(playerid, Textdraw0, 255); PlayerTextDrawFont(playerid, Textdraw0, 1); PlayerTextDrawLetterSize(playerid, Textdraw0, 0.500000, 1.000000); PlayerTextDrawColor(playerid, Textdraw0, -16776961); PlayerTextDrawSetOutline(playerid, Textdraw0, 0); PlayerTextDrawSetProportional(playerid, Textdraw0, 1); PlayerTextDrawSetShadow(playerid, Textdraw0, 1); PlayerTextDrawUseBox(playerid, Textdraw0, 1); PlayerTextDrawBoxColor(playerid, Textdraw0, 255); PlayerTextDrawTextSize(playerid, Textdraw0, 610.000000, 0.000000); PlayerTextDrawSetSelectable(playerid, Textdraw0, 0); PlayerTextDrawShow(playerid, TextDraw0);