View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 04-23-2011 , 14:14   Re: SwarmTools - Alien Swarm Function Lib for Plugin Devs
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
Miss Float ??


...addons\sourcemod\scripting\include\swarmto ols.inc(220) : error 092: number of arguments does not match definition

PHP Code:
/**
 * Cures a marine's infestation.
 *
 * @param marine        Marine entity index
 * @noreturn
 * @error               Invalid entity
 */
stock Swarm_CureMarineInfestation(marine)
{
    
SetEntPropFloat(marineProp_Send"m_fInfestedTime");

SetEntPropFloat
Code:
Syntax:
native SetEntPropFloat(entity, PropType:type, const String:prop[], Float:value);
*edit
Or is it
GetEntPropFloat
DarthNinja pointed out to me that and I think one other issue a couple months ago. It didn't seem to matter as obviously not one but him had used it since posting. I'll update the post in a little bit.
psychonic is offline