new numplate [10]; format(numplate,sizeof(numplate),"%s",txt); pData[playerid][NumPlate] = numplate; // Or maybe format(pData[playerid][NumPlate],10,"%s",text);