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
Posts: 422
Threads: 92
Joined: May 2014
Reputation:
0
Damn this is nice mate.
Will this work with combing it to online PHP, as in websites, so you can make some kind of UCP, or not?
Posts: 270
Threads: 7
Joined: Apr 2015
Quote:
Originally Posted by justjamie
Damn this is nice mate.
Will this work with combing it to online PHP, as in websites, so you can make some kind of UCP, or not?
|
You can not write HTML/PHP code with your SERVER regardless of the language.
Posts: 270
Threads: 7
Joined: Apr 2015
Quote:
Originally Posted by thanhlongcongtu
|
On what event do you create the textdraws?
Posts: 987
Threads: 21
Joined: Nov 2012
Reputation:
0
I'll start working on a new releaase of SAMPHP, however this will be my last updated on this plugin, or anything else I've done for SA:MP.
I'll be updating this plugin since I keep getting private messages and/or skype spammed requesting for a new version, so I'll release a new version.
The new version will be able to handle AMX calls and callbacks, so you can integrate it with another plugin, and the framework will be completely rewritten.
I ask for the community to start maintaining this plugin when a new release is available, be it code updates, or framework updates, since I'll be no longer updating it.
Posts: 270
Threads: 7
Joined: Apr 2015
15.12.2016, 12:24
(
Последний раз редактировалось amirm3hdi; 15.12.2016 в 23:07.
)
Quote:
Originally Posted by GWMPT
I'll start working on a new releaase of SAMPHP, however this will be my last updated on this plugin, or anything else I've done for SA:MP.
I'll be updating this plugin since I keep getting private messages and/or skype spammed requesting for a new version, so I'll release a new version.
The new version will be able to handle AMX calls and callbacks, so you can integrate it with another plugin, and the framework will be completely rewritten.
I ask for the community to start maintaining this plugin when a new release is available, be it code updates, or framework updates, since I'll be no longer updating it.
|
That would be awesome in an insane way, but will it be in the same github page?
Cuz I assume you're just a contributor.
Also will it support the latest SAMP functions?
And there are some issues in the classes, like unnecessary params or functions will they be fixed too?
Posts: 270
Threads: 7
Joined: Apr 2015
Quote:
Originally Posted by thanhlongcongtu
i'm trying to integration with streamer. Using pawn to create Dynamicobject is okay, but can't use php, i RegisterAMXNative too.
|
Doesn't support other callbacks.
Posts: 16
Threads: 2
Joined: Jul 2015
Reputation:
0
This plugin missing actor, functions and callback, or my mistake
Posts: 3,004
Threads: 12
Joined: May 2011
Quote:
Originally Posted by thanhlongcongtu
This plugin missing actor, functions and callback, or my mistake
|
Its missing a developer as well.
Posts: 16
Threads: 2
Joined: Jul 2015
Reputation:
0
I'm ready to hire a developer can done this task, make this plugins greate again. Please!