Hey I wanted to test this script loading it as a plugin script instead of map script but got this:
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (199, 25) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (200, 29) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (214, 13) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (234, 13) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (247, 48) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (348, 13) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (366, 17) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (383, 13) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (476, 17) : No matching symbol 'GetUserData'
ERROR: d:/tcafiles/users/fnx1475/1778/svencoop_addon/scripts/maps/player_sentry.as (495, 78) : No matching symbol 'GetUserData'
ERROR: Plugin script compilation failed
Pretty much the script is like this:
#include "player_sentry"
void PluginInit()
{
g_Module.ScriptInfo.SetAuthor( "Cadaver" );
g_Module.ScriptInfo.SetContactInfo( "-" );
}
void MapInit()
{
PLAYER_SENTRY::WeaponRegister();
}
Any idea why this could happend?