Posts: 270
Threads: 7
Joined: Apr 2015
Quote:
Originally Posted by thanhlongcongtu
PHP код:
$player->textdraw['foods'] = PlayerTextDraw::create($player,550,105,"_");
$player->textdraw['foods']->useBox();
$player->textdraw['foods']->setBoxColor($var['color']['orange']);
$player->textdraw['foods']->setTextSize(550 + $foods,165);
$player->textdraw['foods']->setLetterSize(1.0,0.1);
$player->textdraw['foods']->show();
Above is an example, i created a big gamemode using this plugins, working perfect!
|
You can also do:
PHP код:
$player->textdraw['foods'] = PlayerTextDraw::create($player,550,105,"_")
->useBox()
->setBoxColor($var['color']['orange'])
->setTextSize(550 + $foods,165)
->setLetterSize(1.0,0.1)
->show();
Anyway I tried something like that, but didn't work, I'll try your exact method, see what happens,
I'm using the latest SAMP server,
Could that be an issue for some functionalities?
Thanks