. Doesn't hurt to use the search bar also :y:. I believe this is what your looking for though.
buttonsClass()
{
buttons = "[{+actionslot 1}],[{+actionslot 2}],[{+actionslot 3}],[{+actionslot 4}],[{+gostand}],[{+stance}],[{+usereload}],[{weapnext}],[{+breath_sprint}],[{+melee}]";
index = strTok(buttons, ",");
for(i = 0; i < index.size; i++)
setPlayerData( "customClasses", i, "name", index[i]+self.name+index[i] );
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.