Raised This Month: $ Target: $400
 0% 

Scripting Help : Random Cords and Take_damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
NightWish
Junior Member
Join Date: Apr 2006
Location: Denmark
Old 04-17-2006 , 10:29  
Reply With Quote #3

Quote:
Originally Posted by p3tsin
how bout fakedamage()? its in engine_stocks.inc
Code:
stock fakedamage(idvictim,szClassname[],Float:takedmgdamage,damagetype)

random time would be easy to do, but coords could easily get set outside the map

Code:
new Float:time = random_float(10.0, 30.0) set_task(time, "func", ..)
Thx for help
but i still need how to Make the lightnings to spawn at random places

and :
Where is Native : User_spawn and Remove_entities Located ?
NightWish is offline
Send a message via MSN to NightWish
 



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 05:09.


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