Raised This Month: $ Target: $400
 0% 

Remake code to hns xp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
b0rN
New Member
Join Date: Dec 2013
Old 12-21-2013 , 18:08   Remake code to hns xp
Reply With Quote #1

Can someone remake this for HNS XP MOD by EXOLENT?

public doStealth(id){
if(!gSkill[id][6]){
ColorChat(id, GREEN, "%s^x01 U dont buy this ability", gPrefix);
return 1;
}
if(gUsed[id][2]){
ColorChat(id, GREEN, "%s^x01 You used it arleady", gPrefix);
return 1;
}
if(!is_user_alive(id)){
ColorChat(id, GREEN, "%s^x01 You have to live to use it.", gPrefix);
return 1;
}

if(task_exists(id + TASK_STEALTH)) remove_task(id + TASK_STEALTH);

set_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransColor, 0);

gfTime[id][0] = float((gSkill[id][6] * 2))
set_task(0.1, "Stealth_Countdown", id + TASK_STEALTH, "", _, "a", (gSkill[id][6] * 2) * 10);

gUsed[id][2] = true;

return 0;
}

public Stealth_Countdown(id){
id -= TASK_STEALTH;

if(gfTime[id][0] <= 0.3)
set_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderNormal, 255);

gfTime[id][0] -= 0.1;
set_hudmessage(127, 255, 85, 0.01, 0.54, 0, 0.1, 0.2, 0.1, 0.1, 3);
show_hudmessage(id, "Invisible time : %.1f", gfTime[id][0])
}
b0rN is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode