1.1 --- a/plugins/include/sdktools_functions.inc Sat Sep 29 22:11:21 2007 +0000
1.2 +++ b/plugins/include/sdktools_functions.inc Sat Sep 29 22:26:36 2007 +0000
1.3 @@ -173,6 +173,39 @@
1.4 native bool:DispatchSpawn(entity);
1.5
1.6 /**
1.7 + * Dispatches a KeyValue into given entity using a string value.
1.8 + *
1.9 + * @param entity Destination entity index.
1.10 + * @param keyName Name of the key.
1.11 + * @param value String value.
1.12 + * @return True on success, false otherwise.
1.13 + * @error Invalid entity index, or no mod support.
1.14 + */
1.15 +native bool:DispatchKeyValue(entity, const String:keyName[], const String:value[]);
1.16 +
1.17 +/**
1.18 + * Dispatches a KeyValue into given entity using a floating point value.
1.19 + *
1.20 + * @param entity Destination entity index.
1.21 + * @param keyName Name of the key.
1.22 + * @param value Floating point value.
1.23 + * @return True on success, false otherwise.
1.24 + * @error Invalid entity index, or no mod support.
1.25 + */
1.26 +native bool:DispatchKeyValueFloat(entity, const String:keyName[], Float:value);
1.27 +
1.28 +/**
1.29 + * Dispatches a KeyValue into given entity using a vector value.
1.30 + *
1.31 + * @param entity Destination entity index.
1.32 + * @param keyName Name of the key.
1.33 + * @param vec Vector value.
1.34 + * @return True on success, false otherwise.
1.35 + * @error Invalid entity index, or no mod support.
1.36 + */
1.37 +native bool:DispatchKeyValueVector(entity, const String:keyName[], const Float:vector[3]);
1.38 +
1.39 +/**
1.40 * @deprecated
1.41 */
1.42 #pragma deprecated Use IgniteEntity() instead