plugins/include/sdktools_tempents.inc
changeset 1039 71e55e3fd8f7
parent 1031 d9cf44ddcd9c
child 1053 6d642ebae456
     1.1 --- a/plugins/include/sdktools_tempents.inc	Wed Jul 04 12:34:57 2007 +0000
     1.2 +++ b/plugins/include/sdktools_tempents.inc	Thu Jul 05 00:21:59 2007 +0000
     1.3 @@ -63,7 +63,7 @@
     1.4   * @noreturn
     1.5   * @error		Property not found.
     1.6   */
     1.7 -native TE_WriteVector(const String:prop[], Float:vector[3]);
     1.8 +native TE_WriteVector(const String:prop[], const Float:vector[3]);
     1.9  
    1.10  /**
    1.11   * Sets a QAngle in the current temp entity.
    1.12 @@ -73,7 +73,18 @@
    1.13   * @return		True on success, otherwise false.
    1.14   * @error		Property not found.
    1.15   */
    1.16 -native TE_WriteAngles(const String:prop[], Float:angles[3]);
    1.17 +native TE_WriteAngles(const String:prop[], const Float:angles[3]);
    1.18 +
    1.19 +/**
    1.20 + * Sets an array of floats in the current temp entity.
    1.21 + *
    1.22 + * @param prop		Property to use.
    1.23 + * @param array		Array of values to copy.
    1.24 + * @param arraySize	Number of values to copy.
    1.25 + * @return		True on success, otherwise false.
    1.26 + * @error		Property not found.
    1.27 + */
    1.28 +native TE_WriteFloatArray(const String:prop[], const Float:array[], arraySize);
    1.29  
    1.30  /**
    1.31   * Sends the current temp entity to one or more clients.