Remake code to hns xp
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]) } |
| All times are GMT -4. The time now is 20:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.