function sinifSec(o: player, s: text):
set {sinifSecim.%{_o}%} to {_s}
function sinifMenu(o: player):
open virtual chest inventory with size 5 named " < Sınıfını Seç >" to {_o}
create a gui slot 10 of {_o} with head named "Savaşçı" to run sinifSec({_o}, "Savaşçı")