 |
|
Senior Member
|

08-31-2012
, 22:27
Re: [ZP] - [HELP] Removing Lasermines Progress Bar
|
#3
|
Quote:
Originally Posted by Infernuz
Try that, I only wonder what will happend... such huge plugins -.-
PHP Code:
public CreateLaserMine_Progress(id)
{
if(!CreateCheck(id))
return PLUGIN_HANDLED;
g_settinglaser[id] = false;
message_begin(MSG_ONE, 108, {0,0,0}, id);
write_byte(1);
write_byte(0);
message_end();
//set_task(1.2, "Spawn", (TASK_PLANT + id));
Spawn(TASK_PLANT + id);
return PLUGIN_HANDLED;
}
public ReturnLaserMine_Progress(id)
{
if(!ReturnCheck(id))
return PLUGIN_HANDLED;
g_settinglaser[id] = true;
message_begin(MSG_ONE, 108, {0,0,0}, id);
write_byte(0.1);
write_byte(0);
message_end();
//set_task(1.2, "ReturnMine", (TASK_RELEASE + id));
ReturnMenu(TASK_RELEASE + id);
return PLUGIN_HANDLED;
}
|
i tried it, but it but it dosen't work, the progress bar is gone but it still takes time to plant the lasermine. i'm really in need of this.
__________________
|
|
|
|