Raised This Month: $ Target: $400
 0% 

how to delay 2 secs then perform


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Riddick51
BANNED
Join Date: Jul 2005
Location: Lincoln, Nebr US
Old 09-11-2005 , 02:32   how to delay 2 secs then perform
Reply With Quote #1

how do i delay 2 seconds then perform wvictimscr ?
Code:
public func01() { //if the random number is less than 9 { //    delay 2 seconds while player respawns, then perform wvictimscr once}    if (random_num(0,99) < 9) set_task(2.0,"wvictimscr",??????); } public wvictimscr() {    set_hudmessage(255,000,000, -1.0, 0.30, 0, 3.0, 3.0, 0.15, 0.15, 1)    show_hudmessage(victim_id,"Your Cranium g0t Creased by^na High-Velocity Metal Object") }
Riddick51 is offline
Send a message via AIM to Riddick51 Send a message via MSN to Riddick51 Send a message via Yahoo to Riddick51
 


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 14:33.


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