I read it but im still having trouble doing it
NPC Code:
function onActionServerSide() {
player.addWeapon(weapon/BMPTier1);
player.removeWeapon(weapon/BMP);
}
//#CLIENTSIDE
function GraalControl.onKeyDown(code, key, scan) {
if (key == "t") {
triggerServer("gui", weapon/bmp, null);
its all in the same script I put the action above my clientside and its still not working ingame