Raised This Month: $ Target: $400
 0% 

I'm just about done porting this one plugin....then BAM...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
samalex
Member
Join Date: Mar 2005
Old 04-06-2005 , 16:40   I'm just about done porting this one plugin....then BAM...
Reply With Quote #1

I hit the following lines in the special include the plugin came with:

UTIL_MoveTo(id,dest)
{
// Moves an entity to this location + copy the entity's angles
new Floatrigin[3]
pev(dest,pev_origin,origin)
entity_set_origin(id,origin)
set_pev_f(id,pev_angles_x,pev_f(dest,pev_angl es_x))
set_pev_f(id,pev_angles_y,pev_f(dest,pev_angl es_y))
set_pev_f(id,pev_angles_z,pev_f(dest,pev_angl es_z))
}


and


UTIL_MakeGlow(id)
{
// Makes an entity glow it's color specified in ctg_color[team][r/g/b]
set_pev_f(id,pev_rendercolor_x,ctg_color[pev_i(id,pev_team)][0])
set_pev_f(id,pev_rendercolor_y,ctg_color[pev_i(id,pev_team)][1])
set_pev_f(id,pev_rendercolor_z,ctg_color[pev_i(id,pev_team)][2])
set_pev_f(id,pev_renderamt,0.0)
set_pev_i(id,pev_renderfx,kRenderFxGlowShell)
set_pev_f(id,pev_renderamt,0.0)
}

They love to spit out all sortsa errors! like:

undefined symbol pev_angles_x, pev_angles_y....,pev_rendercolor_x
as well as many others, but those are probably caused because of the undefined symbol errors.


Someone care to explain?

what should pev_angles_x be replaced with?


Thanks in advance, this is the 2nd to last obstacle to overcome before this plugin is ported.
samalex is offline
 



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


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