UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Error after installing Unlimited Client Systems

broken avatar :(
Created 8 years ago
by wumbi
0 Members and 1 Guest are viewing this topic.
1,186 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 August 2016
Last active: 6 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
wumbi's Groups
wumbi's Contact & Social Links
So I've just installed this script by alaurenc9
http://ugx-mods.com/forum/index.php/topic,11593.0.html
and when launching my map I get the following error:

unknown function
if( system_info[0] == "all" || system_info[0] == string( level.player_id_number[ localclientnum ] ) )

This is part of a .csc file that is required for this script to work. I know some scripting and to me this looks like a basic if function. What could be the problem?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
My preferred name is "xSanchez78".
Check me out here: www.steamcommunity.com/id/xSanchez78
×
alaurenc9's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
Place these functions at the bottom of that file:
Code Snippet
Plaintext
register_client_system( system_name, callback_func )
{
level.fake_client_system_callbacks[ system_name ] = callback_func;
}

StrTok( string, delimiter )
{
tokens = [];
next_token = "";
for( i = 0; i < string.size; i ++ )
{
if( string[i] == delimiter )
{
tokens[ tokens.size ] = next_token;
next_token = "";
}
else
{
next_token = next_token + string[i];
}
}
tokens[ tokens.size ] = next_token;
return tokens;
}

string( num )
{
return "" + num;
}

 
Loading ...