Scripts / Color Text Help

Author
Message
Nevin
8
Years of Service
User Offline
Joined: 19th May 2015
Location: U.S.A
Posted: 24th May 2015 15:11
Color Text,

I made a post last night about this. But learned a little and have a different question on the topic.

How would I add color to this simple script. I would like to keep the duration.

function help_init(e)
end

function help_main(e)
if g_Entity[e]['plrinzone']==1 then
PromptDuration("Thank you for helping!",10000)
Destroy(e)

end
end
!nullptr
Forum Support
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 24th May 2015 21:50 Edited at: 24th May 2015 21:52
Nevin. See my lengthy reply to this in the Steam thread. (SisterMatic)

In short. You deleted the zone as soon as you entered it. So your original TEXT code would have flashed and disappeared.

If you delete the zone after you leave it or better yet, don't delete the zone (unless you intend to delete it) using the TextColor commands will work continuously *while* you remain in the zone.
Development/ Gaming Rigs
Sys 1: i7-4770 (3.5)/16Gb/128 SSD/3Tb/970gtx/2 x 23, 1 x 27 LCD - Sys 2: i7/8Gb/670gtx/1.5Tb/1 x 23 LCD - Sys 3: Amd Quad/8Gb/645gtx/1Tb/30" LCD
PM

Login to post a reply

Server time is: 2024-05-07 08:05:57
Your offset time is: 2024-05-07 08:05:57