AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Whats the difference ? (https://forums.alliedmods.net/showthread.php?t=57437)

bwgrubbs1 07-04-2007 16:33

Whats the difference ?
 
If i wish to make sure someone doesn't take damage if they fall off a roof or something.

which should i use ?
Code:
set_pev(id, pev_takedamage, //what goes here) set_pev(id, pev_dmg_take, //what goes here)

Arkshine 07-04-2007 16:37

Re: Whats the difference ?
 
set_pev(id, pev_takedamage, DAMAGE_NO) I think.

bwgrubbs1 07-04-2007 17:17

Re: Whats the difference ?
 
Thanks...whats the equivilent to this...

Code:
entity_get_float

in FakeMeta ?

Arkshine 07-04-2007 17:28

Re: Whats the difference ?
 
entity_get_** = pev(

entity_set_** = set_pev(


Take a look in the fakemeta includes.

bwgrubbs1 07-04-2007 20:59

Re: Whats the difference ?
 
o...lol...i knew that, thanks man.

Rolnaaba 07-05-2007 14:51

Re: Whats the difference ?
 
1 Attachment(s)
take a look at this, it shows a bunch of conversions to fakemeta, also check VEN's fakemeta_util.


All times are GMT -4. The time now is 21:27.

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