[HELP] C# Variables Not Working

csharp
variable

#1

Server-Side:

string la = ***(((GETS FROM INI)))***
int ke = ***(((GETS FROM INI)))***

public scriptServer(){
     TriggerClientEvent("syncStuff", la, ke);
     Debug.WriteLine(la+ke);
}

Client-Side:

string lan;
int key;

public scriptClient(){
     EventHandlers.Add("syncStuff", new Action<string, int>(SyncStuff));
     TriggerEvent("chatMessage", "", new[] { 255, 0, 0 }, "Sync Test2: " + lan + key);
}

private void SyncStuff(string l, int k){
     key = k;
     lan = l;
     TriggerEvent("chatMessage", "", new[] { 255, 0, 0 }, "Sync Test: " + lan + key);
}

RCON OUTPUT:

en167

IN-GAME OUTPUT:*

Sync Test: en167
Sync Test2: 0

This seems pretty weird to me, the variables “lan” & “key” are being set while in the SyncStuff method, but it won’t be set for any other methods. I tried making the second Sync Test run on an async task after 15 seconds of boot and still get the same result. Can anyone shed some light into my case? Really appreciate it.