|
Junior Member
|

09-16-2015
, 15:07
HELP::..::edit script
|
#1
|
hy
this (ACG XPHERE) plugin draw two picture in TGA format. ct.tga for CT team and tt.tga for T team
but the plugin shows only one picture for both teams
How edit the scripte to solve this problem?
PHP Code:
#include <amxmodx> #include <acg> public plugin_init() { register_plugin("TGA Drawing Test", "0.2", "[email protected]") } public plugin_precache() { precache_generic("gfx/tt.tga") precache_generic("gfx/ct.tga") } public client_putinserver(id) { if (acg_userstatus(id)) { set_task(3.0,"showtga",id) } } public showtga(id) { //native acg_drawtga(id, const szTGA[], red, green, blue, alpha, Float:x, Float:y, center, effects, Float:fadeintime, Float:fadeouttime, Float:fxtime, Float:holdtime, bfullscreen, align, channel) acg_drawtga(id, "gfx/tt.tga", 255, 255, 255, 200, 0.0, 0.0, 0, FX_FADE, 3.0, 0.0, 0.0, -1, 0, ALIGN_RIGHT, 2) acg_drawtga(id, "gfx/ct.tga", 255, 255, 255, 200, 0.0, 0.0, 0, FX_FADE, 3.0, 0.0, 0.0, -1, 0, ALIGN_RIGHT, 2) }
Last edited by Big Noob; 09-16-2015 at 15:11.
Reason: writing
|
|