Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / GetNetworkClientInteger problem with parameters

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 19th Apr 2012 00:43
OK, this question is as simple as it gets, what is wrong with this?

if getNetworkClientInteger(gSystemNetwork, \"DashHost\", \"CASES\") = 1


The message on compile is \"Parameter mismatch\", there are no examples of this command.

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th Apr 2012 00:58
The command takes an int in the second parameter, it should be

int GetNetworkClientInteger( NetworkID, ClientID, VariableName )
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 19th Apr 2012 10:40


Thanks!

Login to post a reply

Server time is: 2024-05-04 21:55:38
Your offset time is: 2024-05-04 21:55:38