AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   nade fuses porting problem (https://forums.alliedmods.net/showthread.php?t=13079)

nightscreem 05-03-2005 16:32

nade fuses porting problem
 
need some help with some commands i have never heard of and can't find it in includes
can_see
in_view_cone
get_maxentities
radius_damage(nade, 100, 35, fexplosion, 300, DMG_BLAST)
compile error type mismatch
if(in_view_cone(players[i], fexplosion))
compile error type mismatch
it uses the newest vexdum
:arrow: http://djeyl.net/forum/index.php?showtopic=42134
i searched but i can't find

GHW_Chronic 05-04-2005 05:35

//misc Natives
native can_see(ent1, ent2);
native in_view_cone(ent, Float:Orig[3]);

// Returns maxentities setting
native get_maxentities();

// Hurts/Kills players in a sphere, like an explosion. *CS ONLY*
native radius_damage(inflictor, dmg, mag, Float:orig[3], rad, bit = DMG_BULLET);

Quote:

radius_damage(nade, 100, 35, fexplosion, 300, DMG_BLAST)
if(in_view_cone(players[i], fexplosion))
should be

Quote:

radius_damage(nade, 100, 35, fexplosion[3], 300, DMG_BLAST)
if(in_view_cone(players[i], fexplosion[3]))

yes??

Cronck 05-04-2005 05:49

Isn't radius_damage and can_see only for amx?

KRoT@L 05-04-2005 07:28

Quote:

Originally Posted by GHW_Chronic
yes??

No......

nightscreem 05-04-2005 07:53

i don't know common krotal some help pls it is your plugin
yeah maybe vexdum has some more functions then engine

Ced 05-04-2005 16:28

I'm pretty sure radius_damage does not work. Just loop through the players and get the distance between origins points and check to see if they r in the radius.

v3x 05-04-2005 16:30

in_view_cone() isn't in AMXX.

nightscreem 05-04-2005 17:13

so it can't be ported damn

GHW_Chronic 05-04-2005 17:51

port it but use the #include of the vexdum and just have that able to download even though I know we are supposed to use engine now, it is a temp fix for this plugin untill they get the right commands in, if they ever do, to use that plugin.

nightscreem 05-04-2005 19:20

then i don't port the plugin because i don't want to use vexdum
maybe amxx moderators get mad on me


All times are GMT -4. The time now is 16:46.

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