[HELP] Laser Beam [Nightcrawler]
Hello, i want know why after i say /lg the laser show in 1sec and disappear
I want it to disappear only if player is dead PHP Code:
|
Re: [HELP] Laser Beam [Nightcrawler]
You didn't set the time in the message properly.
Also, any message can last to the maximum of 255 (should be 25,5 seconds, but it always was around 8 seconds for me - don't know why) , so you have to recreate it every time it is destroyed. You also want to check if the player is alive in the re-creating process. If you want to make it more accurate, set the life to 10 (1 second) and recreate it every 1 second; thus the beam won't be on player's dead body when they die for up to 25,5 seconds ( 8 ). |
| All times are GMT -4. The time now is 11:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.