oben im script:
new Text3D:label[3];
bei dem createpickup:
/* Farmen 1 - 3 */
CreatePickup(1239,1,-382.5,-1426.30,25.89,-1);
CreatePickup(1239,1,-69.19,-46.09,2.79,-1);
CreatePickup(1239,1,-1060.30,-1195.5,129.19,-1);
new string[128];
format(string,sizeof(string),"Kasse: %d",fraktionskasse[Farm]);
label[0] = Create3DTextLabel(string,COLOR_WHITE,-382.5,-1426.30,25.89,10,0,0); //An Stelle von COLOR_WHITE musst du einen Farbcode eintragen
label[1] = Create3DTextLabel(string,COLOR_WHITE,-69.19,-46.09,2.79,10,0,0);
label[2] = Create3DTextLabel(string,COLOR_WHITE,-1060.30,-1195.5,129.19,10,0,0);
immer wenn die fraktionskasse geändert wird:
new string[128];
format(string,sizeof(string),"Kasse: %d",fraktionskasse[Farm]);
Update3DTextLabelText(label[0],COLOR_WHITE,string);
Update3DTextLabelText(label[1],COLOR_WHITE,string);
Update3DTextLabelText(label[2],COLOR_WHITE,string);